c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / c-c++-common / strub-apply1.c
blob3edc89c54eea14d58b0cfed61e703fc27bc50bcb
1 /* { dg-do compile } */
2 /* { dg-options "-fstrub=strict" } */
3 /* { dg-require-effective-target strub } */
5 void __attribute__ ((__strub__ ("callable")))
6 apply_function (void *args)
8 __builtin_apply (0, args, 0);
11 void __attribute__ ((__strub__ ("internal")))
12 apply_args (int i, int j, double d)
14 void *args = __builtin_apply_args ();
15 apply_function (args);