/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
- // -*- rust -*-
- // Issue #50.
- fn main() {
- let x = {foo: ~"hello", bar: ~"world"};
- log(debug, x.foo);
- log(debug, x.bar);
- }