PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr66232-4.c
blob5fa0dedf67e657f0ed4bbadb1fa96e248798e0d0
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 () + 1;
12 /* { dg-final { scan-assembler "call\[ \t\]*.bar@GOTPCREL" { target { ! ia32 } } } } */
13 /* { dg-final { scan-assembler "call\[ \t\]*.bar@GOT\\(" { target ia32 } } } */