blob: a5d7551f5da5cbe6aa63c374d78d68ae1de802ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* { dg-do compile } */
/* { dg-options "-fstrub=strict" } */
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);
}
|