PageRenderTime 18ms CodeModel.GetById 11ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/src/test/run-pass/rec-auto.rs

http://github.com/jruderman/rust
Rust | 11 lines | 5 code | 4 blank | 2 comment | 0 complexity | e3ffb4f9f9121bb7295e83a1f3d90fea MD5 | raw file
 1
 2
 3
 4// -*- rust -*-
 5
 6// Issue #50.
 7fn main() {
 8    let x = {foo: ~"hello", bar: ~"world"};
 9    log(debug, x.foo);
10    log(debug, x.bar);
11}