1  /* { dg-do compile { target *-*-linux* } } */
       2  /* { dg-options "-fno-pic -fno-plt" } */
       3  
       4  void foo();
       5  
       6  int main()
       7  {
       8    foo();
       9    return 0;
      10  }
      11  
      12  /* { dg-final { scan-assembler "call\[ \t\]*.foo@GOTPCREL" { target { ! ia32 } } } } */
      13  /* { dg-final { scan-assembler "call\[ \t\]*.foo@GOT" { target { ia32 && got32x_reloc } } } } */