g++.dg/cpp1y/vla11.C...
[gcc.git] / gcc / testsuite / g++.dg / abi / pr60336-7.C
1 // { dg-do compile }
2 // { dg-options "-O2 -std=c++11 -fno-pic" }
3 // { dg-require-effective-target fpic }
4
5 struct dummy { };
6 struct true_type { struct dummy i[120]; };
7
8 extern true_type y;
9 extern void xxx (true_type c);
10
11 void
12 yyy (void)
13 {
14 xxx (y);
15 }
16
17 // { dg-final { scan-assembler "jmp\[\t \]+\[^\$\]*?_Z3xxx9true_type" { target i?86-*-* x86_64-*-* } } }