rust/tests/ui/union/union-empty.rs
2023-01-11 09:32:08 +00:00

4 lines
66 B
Rust

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