struct Foo; // { dg-error "expecting .:. but .>. found" } struct Bar; // { dg-error "unrecognised token .>. in type" } struct Baz; // { dg-error "invalid token for start of default value for const generic parameter" } // { dg-error "unrecognised token .>. in type" "" { target *-*-* } .-1 }