aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/noplt-3.c
blob: e2a6f9386499975cb54c726b3f8244324816c744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile { target x86_64-*-linux* } } */
/* { dg-options "-fno-pic -fno-plt" } */

void foo();

int main()
{
  foo();
  return 0;
}

/* { dg-final { scan-assembler "call\[ \t\]\\*.*foo.*@GOTPCREL\\(%rip\\)" } } */