summaryrefslogtreecommitdiffstats
path: root/src/test/ui/union/union-empty.rs
blob: 79b7e68ee6bebab12918ba58390890cee46a5645 (plain)
1
2
3
union U {} //~ ERROR unions cannot have zero fields

fn main() {}