rust/src/test/run-pass/tuple-struct-construct.rs
2012-10-25 11:49:26 -07:00

8 lines
93 B
Rust

struct Foo(int, int);
fn main() {
let x = Foo(1, 2);
io::println(fmt!("%?", x));
}