PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/src/test/run-pass/move-2.rs

http://github.com/jruderman/rust
Rust | 3 lines | 1 code | 2 blank | 0 comment | 1 complexity | ea6583627ffbfd313ad175f07d278b1e MD5 | raw file
1
2
3fn main() { let x = @{x: 1, y: 2, z: 3}; let y <- x; assert (y.y == 2); }