about summary refs log tree commit diff
path: root/src/test/run-pass/structs-enums/tuple-struct-construct.rs
blob: 972fc9dc04a905ed912bcd7cbc67fb30b0bf0450 (plain)
1
2
3
4
5
6
7
8
// run-pass
#[derive(Debug)]
struct Foo(isize, isize);

pub fn main() {
    let x = Foo(1, 2);
    println!("{:?}", x);
}