| 1 |
/* Invalid initializers should not receive an "is not constant" |
| 2 |
error. */ |
| 3 |
/* Origin: Joseph Myers <[email protected]> */ |
| 4 |
/* { dg-do compile } */ |
| 5 |
/* { dg-options "" } */ |
| 6 |
|
| 7 |
int p = c; /* { dg-error "undeclared" } */ |
| 8 |
struct s { int a; } x = { b }; /* { dg-error "undeclared" } */ |