summaryrefslogtreecommitdiffstats
path: root/src/test/ui/structs-enums/variant-structs-trivial.rs
blob: 31fa610a69d952b4ecce463ee7d0cae4e2fb3309 (plain)
1
2
3
4
5
6
7
8
9
10
// run-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616

enum Foo {
    Bar { x: isize },
    Baz { y: isize }
}

pub fn main() { }