gccrs: Handle `async` functions in traits
[official-gcc.git] / gcc / testsuite / rust / compile / const_generics_2.rs
blob98495cf404d4e118d5c71b7d357ceb297da1c220
1 struct Foo<const N>; // { dg-error "expecting .:. but .>. found" }
2 struct Bar<const N: >; // { dg-error "unrecognised token .>. in type" }
3 struct Baz<const N: usize = >; // { dg-error "invalid token for start of default value for const generic parameter" }
4 // { dg-error "unrecognised token .>. in type" "" { target *-*-* } .-1 }