rust/src/test/ui/structs-enums/tuple-struct-construct.rs
2019-07-27 18:56:16 +03:00

9 lines
122 B
Rust

// run-pass
#[derive(Debug)]
struct Foo(isize, isize);
pub fn main() {
let x = Foo(1, 2);
println!("{:?}", x);
}