1 // Evaluation of constants in array-elem count goes through different
2 // compiler control-flow paths.
4 // This test is checking the count in an array type.
6 #![allow(unused_imports)]
11 : [u32; (i8::MAX as i8 + 1i8) as usize]
12 //~^ ERROR evaluation of constant value failed
13 = [0; (i8::MAX as usize) + 1];
19 fn foo<T:fmt::Debug>(x: T) {