PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr66232-3.c
blobe6ba60f34aaff3612e8e31d4e2deb523d369f4e1
1 /* { dg-do compile { target *-*-linux* } } */
2 /* { dg-options "-O2 -fpic -fno-plt" } */
4 extern int bar (void);
6 int
7 foo (void)
9 return bar ();
12 /* { dg-final { scan-assembler "jmp\[ \t\]*.bar@GOTPCREL" { target { ! ia32 } } } } */
13 /* { dg-final { scan-assembler "jmp\[ \t\]*.bar@GOT\\(" { target ia32 } } } */