14 lines
123 B
Plaintext

enum Abc {
B(int),
C { v: int },
}
fn main() {
let b: Abc = Abc::B(123);
let c = Abc::C { v: 123 };
}