Debian Codegraph @

gcc/testsuite/c-c++-common/strub-apply3.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-fstrub=strict" } */
3 /* { dg-require-effective-target strub } */
4
5 void __attribute__ ((__strub__))
6 apply_function (void *args)
7 {
8 __builtin_apply (0, args, 0); /* { dg-error "in .strub. context" } */
9 }