[PATCH 07/11] Handle structs and classes for CodeView
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr47237.c
blob944bdb7c93aee6b78629001639f6b1faee93f623
1 /* { dg-xfail-run-if "can cause stack underflow" { nios2-*-* amdgcn-*-* } } */
2 /* { dg-require-effective-target untyped_assembly } */
3 #define INTEGER_ARG 5
5 extern void abort(void);
7 static void foo(int arg)
9 if (arg != INTEGER_ARG)
10 abort();
13 static void bar(int arg)
15 foo(arg);
16 __builtin_apply(foo, __builtin_apply_args(), 16);
19 int main(void)
21 bar(INTEGER_ARG);
23 return 0;