summaryrefslogtreecommitdiffstats
path: root/src/test/ui/cross-crate/cross-crate-const-pat.rs
blob: e8fa8485ab2fbedf4c5d546d0ba7d54d7b022b31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// run-pass
// aux-build:cci_const.rs

// pretty-expanded FIXME #23616

extern crate cci_const;

pub fn main() {
    let x = cci_const::uint_val;
    match x {
        cci_const::uint_val => {}
        _ => {}
    }
}