7 const FOO: u32 = [X - Y, Y - X][(X < Y) as usize];
8 //~^ WARN any use of this value will cause an error
9 //~| WARN this was previously accepted by the compiler but is being phased out
14 //~| WARN erroneous constant used [const_err]
15 //~| WARN this was previously accepted by the compiler but is being phased out