Sign in
gnu
/
gcc.git
/
3e4ced9de1f1c6444eae44c1fed493742c345bc6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
strub-apply3.c
blob: 0206e4d930e7da27902e93a1c5b7bf2b24bfd072 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-fstrub=strict" } */
/* { dg-require-effective-target strub } */
void
__attribute__
((
__strub__
))
apply_function
(
void
*
args
)
{
__builtin_apply
(
0
,
args
,
0
);
/* { dg-error "in .strub. context" } */
}