about summary refs log tree commit diff
path: root/tests/ui/structs-enums/tuple-struct-construct.rs
blob: dc7cbaffddb484a1b0642af1c11189b8d8454674 (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);
}