1
Fork 0

check mir exists before validation; fix tests

This commit is contained in:
Vishnunarayan K I 2020-11-09 23:15:11 +05:30
parent 6781907444
commit 5029a19313
15 changed files with 25 additions and 90 deletions

View file

@ -1,4 +1,3 @@
fn main() {
let _ = [0; (&0 as *const i32) as usize]; //~ ERROR casting pointers to integers in constants
//~^ ERROR evaluation of constant value failed
}