about summary refs log tree commit diff
path: root/tests/ui/extern/extern-prelude-std.rs
blob: 5ded76cea7cc15dbf8738c6d1221755537b1c98a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//@ run-pass

mod foo {
    pub fn test() {
        let x = std::cmp::min(2, 3);
        assert_eq!(x, 2);
    }
}

fn main() {
    foo::test();
}