1  /* { dg-do compile { target *-*-linux* } } */
       2  /* { dg-options "-O2 -fno-pic -fno-plt" } */
       3  
       4  extern int bar (void) __attribute__((visibility("hidden")));
       5  
       6  int
       7  foo (void)
       8  {
       9    return bar ();
      10  }
      11  
      12  /* { dg-final { scan-assembler-not "jmp\[ \t\]*.bar@GOTPCREL" { target { ! ia32 } } } } */
      13  /* { dg-final { scan-assembler-not "jmp\[ \t\]*.bar@GOT" { target ia32 } } } */