blob: 98495cf404d4e118d5c71b7d357ceb297da1c220 [file] [log] [blame]
struct Foo<const N>; // { dg-error "expecting .:. but .>. found" }
struct Bar<const N: >; // { dg-error "unrecognised token .>. in type" }
struct Baz<const N: usize = >; // { dg-error "invalid token for start of default value for const generic parameter" }
// { dg-error "unrecognised token .>. in type" "" { target *-*-* } .-1 }