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