1 // run-pass (note: this is spec-UB, but it works for now)
2 // ignore-32bit (needs `usize` to be 8-aligned to reproduce all the errors below)
4 // ignore-emscripten weird assertion?
12 #[warn(unaligned_references)]
14 let foo = Foo4C { bar: 1, baz: 2 };
15 let brw = &foo.baz; //~WARN reference to packed field is unaligned
16 //~^ previously accepted