1 2 3 4 5 6
// PR c++/38635 // { dg-do compile } void foo() { if (struct A{}// { dg-error "types may not be defined|expected" }