blob: f8d82b9e149a35a9f63dee2a08c8995bdbbde1c6 [file] [log] [blame]
#![feature(no_core)]
#![no_core]
enum Foo {
A,
B,
C(char),
D { x: i64, y: i64 },
}
fn main() {
let _a = Foo::A;
let _b = Foo::B;
let _c = Foo::C('x');
let _d = Foo::D { x: 20, y: 80 };
}