rust/tests/ui/cross-crate/cross-crate-const-pat.rs

15 lines
221 B
Rust

//@ 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 => {}
_ => {}
}
}