mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
433da1fc04
They pass fine.
9 lines
148 B
Rust
9 lines
148 B
Rust
extern crate foo1;
|
|
extern crate foo2;
|
|
|
|
fn main() {
|
|
let a = foo1::foo();
|
|
let b = foo2::foo();
|
|
assert!(a as *const _ != b as *const _);
|
|
}
|