summaryrefslogtreecommitdiffstats
path: root/tests/ui/structs-enums/namespaced-enums-xcrate.rs
blob: 5e10c3ec1d0f8ec89af296e3be0af82fcb71e650 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// run-pass
// aux-build:namespaced_enums.rs

// pretty-expanded FIXME #23616

extern crate namespaced_enums;

use namespaced_enums::Foo;

fn _foo (f: Foo) {
    match f {
        Foo::A | Foo::B(_) | Foo::C { .. } => {}
    }
}

pub fn main() {}