blob: 56c3ddd3516128a1e7af76a38bf96a93eceb37e4 [file] [log] [blame]
//@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: /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/
}