about summary refs log tree commit diff
path: root/tests/ui/structs-enums/tuple-struct-construct.rs
blob: 4243bccb4eb7a7f62820db90329e8a095ce8e7ce (plain)
1
2
3
4
5
6
7
8
9
//@ run-pass
#[allow(dead_code)]
#[derive(Debug)]
struct Foo(isize, isize);

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