PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr66232-7.c
blob63a180955fb1c870d7552b159cbbc86069378eca
1 /* { dg-do compile { target *-*-linux* } } */
2 /* { dg-options "-O2 -fno-pic -fno-plt" } */
4 extern void bar (void) __attribute__((visibility("hidden")));
6 int
7 foo (void)
9 bar ();
10 return 0;
13 /* { dg-final { scan-assembler-not "call\[ \t\]*.bar@GOTPCREL" { target { ! ia32 } } } } */
14 /* { dg-final { scan-assembler-not "call\[ \t\]*.bar@GOT" { target ia32 } } } */