2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr66232-1.c
blob5ea03de09bdc158cc598841842e2f1d2149cc366
1 /* { dg-do compile { target *-*-linux* } } */
2 /* { dg-options "-O2 -fpic -fno-plt" } */
4 extern void bar (void);
6 void
7 foo (void)
9 bar ();
12 /* { dg-final { scan-assembler "jmp\[ \t\]*.bar@GOTPCREL" { target { ! ia32 } } } } */
13 /* { dg-final { scan-assembler "jmp\[ \t\]*.bar@GOT\\(" { target ia32 } } } */