remove no-longer-needed test
This commit is contained in:
parent
3134df2214
commit
94047f18c2
@ -1,20 +0,0 @@
|
||||
#![feature(rustc_attrs)]
|
||||
#![deny(const_err)]
|
||||
|
||||
fn black_box<T>(_: T) {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let b = 200u8 + 200u8 + 200u8;
|
||||
//~^ ERROR overflow
|
||||
let c = 200u8 * 4;
|
||||
//~^ ERROR overflow
|
||||
let d = 42u8 - (42u8 + 1);
|
||||
//~^ ERROR overflow
|
||||
let _e = [5u8][1];
|
||||
//~^ ERROR panic
|
||||
black_box(b);
|
||||
black_box(c);
|
||||
black_box(d);
|
||||
}
|
Loading…
Reference in New Issue
Block a user