strub: enable conditional support
[official-gcc.git] / gcc / testsuite / c-c++-common / strub-apply3.c
blob0206e4d930e7da27902e93a1c5b7bf2b24bfd072
1 /* { dg-do compile } */
2 /* { dg-options "-fstrub=strict" } */
3 /* { dg-require-effective-target strub } */
5 void __attribute__ ((__strub__))
6 apply_function (void *args)
8 __builtin_apply (0, args, 0); /* { dg-error "in .strub. context" } */