blob: 838fc752734500d550d36ef3fba192e24d247531 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* { dg-do compile } */
/* { dg-options "-fstrub=strict" } */
/* { dg-require-effective-target strub } */
extern void __attribute__ ((__strub__))
apply_function (void *args);
void __attribute__ ((__strub__))
apply_args (int i, int j, double d) /* { dg-error "selected" } */
{
void *args = __builtin_apply_args (); /* { dg-message "does not support" } */
apply_function (args);
}
|