mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-02 13:57:24 +00:00
13 lines
146 B
Rust
13 lines
146 B
Rust
// run-pass
|
|
|
|
mod foo {
|
|
pub fn test() {
|
|
let x = std::cmp::min(2, 3);
|
|
assert_eq!(x, 2);
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
foo::test();
|
|
}
|