1 2 3 4 5 6 7 8 9 10
/* { dg-options "-Os -fpic" } */ /* { dg-final { scan-assembler "GOT_PREL" } } */ extern int x; int foo(int j) { int t = x; x = j; return t; }