blob: 17061f0e5c81c85376a21fee4ac6cb926aa3849d [file] [log] [blame] [edit]
//@ only-target-linux: we need a specific extern supported on this target
//@normalize-stderr-test: "[48] bytes" -> "N bytes"
extern "C" {
static mut environ: i8;
}
fn main() {
let _val = unsafe { environ }; //~ ERROR: /has been declared with a size of 1 bytes and alignment of 1 bytes, but Miri emulates it via an extern static shim with a size of [48] bytes and alignment of [48] bytes/
}