rust/tests/ui/extern/extern-prelude-std.rs
2024-02-16 20:02:50 +00:00

13 lines
147 B
Rust

//@ run-pass
mod foo {
pub fn test() {
let x = std::cmp::min(2, 3);
assert_eq!(x, 2);
}
}
fn main() {
foo::test();
}