about summary refs log tree commit diff
path: root/tests/ui/cross-crate/cross-crate-const-pat.rs
blob: 315210891609bba3551f8c702f5c83301ba80ec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ run-pass
//@ aux-build:cci_const.rs


extern crate cci_const;

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