organize compile-fail tests in folders
This commit is contained in:
parent
910afefcf6
commit
b2bf4ec2f5
73 changed files with 2 additions and 2 deletions
|
|
@ -2,6 +2,6 @@
|
|||
// compile-flags: -Zmiri-disable-validation
|
||||
|
||||
fn main() {
|
||||
let x = 2usize as *const u32;
|
||||
let _y = unsafe { &*x as *const u32 }; //~ ERROR invalid use of 2 as a pointer
|
||||
let x = 16usize as *const u32;
|
||||
let _y = unsafe { &*x as *const u32 }; //~ ERROR invalid use of 16 as a pointer
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue