blob: c4afd74241eda07509433399dca80cee01c65ff9 [file] [log] [blame]
// error-pattern:thread 'main' panicked at 'attempt to negate with overflow'
// compile-flags: -C debug-assertions
#![allow(const_err)]
fn main() {
let _x = -std::i8::MIN;
}