blob: 60fc7ce394c0537a1882d988263c566cccda7e8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  | 
// run-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616
enum Foo {
    Bar {
        a: isize,
        b: isize
    },
    Baz {
        c: f64,
        d: f64
    }
}
pub fn main() {
    let _x = Foo::Bar { a: 2, b: 3 };
}
 
  |