| 1 |
|
| 2 |
// Test to make sure we do not ICE on this invalid program. |
| 3 |
|
| 4 |
// { dg-options "" } |
| 5 |
|
| 6 |
struct A {}; // { dg-message "defined here" } |
| 7 |
|
| 8 |
void A::foo(); // { dg-error "no declaration matches" } |
| 9 |
// { dg-message "no functions named" "note" { target *-*-* } .-1 } |