1 // normalize-stderr-test "pref: Align\([1-8] bytes\)" -> "pref: $$PREF_ALIGN"
3 #![feature(rustc_attrs)]
5 // This cannot use `Scalar` abi since there is padding.
8 pub enum Aligned1 { //~ ERROR: layout_of
13 // This should use `Scalar` abi.
14 #[rustc_layout(debug)]
16 pub enum Aligned2 { //~ ERROR: layout_of