rust/src/test/run-pass/unique-decl-init.rs

5 lines
64 B
Rust
Raw Normal View History

fn main() {
let i = ~1;
let j = i;
assert *j == 1;
}