rust/src/test/ui/structs-enums/tuple-struct-construct.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
122 B
Rust
Raw Normal View History

// run-pass
2015-01-28 07:34:18 -06:00
#[derive(Debug)]
struct Foo(isize, isize);
pub fn main() {
let x = Foo(1, 2);
println!("{:?}", x);
}