Adjust scan string for PIE
[official-gcc.git] / gcc / testsuite / gcc.dg / noreorder2.c
blob558361b628a05fc89a331248fd5bf058a633554d
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-toplevel-reorder" } */
4 __attribute__((no_reorder)) int foobar;
6 static int barbar;
7 int bozo;
9 /* { dg-final { scan-assembler "foobar" } } */
10 /* { dg-final { scan-assembler "bozo" } } */
11 /* { dg-final { scan-assembler "barbar" } } */