1
Fork 0

update tests to changes on rustc master

This commit is contained in:
Oliver Schneider 2018-09-04 12:26:21 +02:00 committed by Oliver Scherer
parent e6f7f4af50
commit 6a6b3309e6
10 changed files with 85 additions and 57 deletions

View file

@ -10,4 +10,5 @@
fn main() {
let _ = [0; (&0 as *const i32) as usize]; //~ ERROR casting pointers to integers in constants
//~^ ERROR it is undefined behavior to use this value
}