1 // compile-flags: -Z print-type-sizes --crate-type=lib
5 // At one point, zero-sized fields such as those in this file were causing
6 // incorrect output from `-Z print-type-sizes`.
17 struct S5<TagW, TagZ> {
30 let _s1: S1 = S1 { x: 0, y: 0, tag: () };
32 let _s5: S5<(), Empty> = S5 {