Adjust scan string for PIE
[official-gcc.git] / gcc / testsuite / gcc.dg / init-undef-1.c
blobb775889ceae430edc624ec67260174c5f639f3d3
1 /* Invalid initializers should not receive an "is not constant"
2 error. */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "" } */
7 int p = c; /* { dg-error "undeclared" } */
8 struct s { int a; } x = { b }; /* { dg-error "undeclared" } */