1 /* { dg-do run { target fpic } } */
2 /* { dg-options "-O2 -fpic" } */
3 /* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */
5 extern void abort (void);
6 extern void exit (int);
8 #if __INT_MAX__ >= 2147483647L
9 static const long foo
[10] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
11 long __attribute__((noinline
))
14 return foo
[x
- 0x6ffffffa];
20 if (bar (0x6ffffffc) != 2)