]> git.proxmox.com Git - rustc.git/blame - src/test/ui/consts/miri_unleashed/box.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / consts / miri_unleashed / box.rs
CommitLineData
ba9703b0 1// compile-flags: -Zunleash-the-miri-inside-of-you
f9f354fc 2#![feature(box_syntax)]
ba9703b0
XL
3
4use std::mem::ManuallyDrop;
5
6fn main() {}
7
8static TEST_BAD: &mut i32 = {
9 &mut *(box 0)
f9f354fc 10 //~^ ERROR could not evaluate static initializer
c295e0f8 11 //~| NOTE calling non-const function `alloc::alloc::exchange_malloc`
ba9703b0 12};