rust/tests/ui/union/union-empty.rs

4 lines
66 B
Rust

union U {} //~ ERROR unions cannot have zero fields
fn main() {}