summaryrefslogtreecommitdiffstats
path: root/src/test/ui/feature-gates/feature-gate-transparent_unions.rs
blob: 73cac0a49148b500fe4dc83605e792a08b094d5b (plain)
1
2
3
4
5
6
7
#[repr(transparent)]
union OkButUnstableUnion { //~ ERROR transparent unions are unstable
    field: u8,
    zst: (),
}

fn main() {}