rust/tests/ui/cross-crate/cross-crate-const-pat.rs
2024-02-16 20:02:50 +00:00

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