blob: 0385e55e3b29ae1a18d7710dc8502c872f8cc8db [file] [log] [blame]
//@ revisions: old next
//@[next] compile-flags: -Znext-solver
struct Foo<const N: u8 = { 255 + 1 }>;
//~^ ERROR overflow
fn main() {}