summaryrefslogtreecommitdiffstats
path: root/src/test/ui/extern/extern-prelude-std.rs
blob: b5627fad960b26626863ce825dd78f9d139f4aeb (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();
}