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