summaryrefslogtreecommitdiffstats
path: root/src/test/ui/structs-enums/tuple-struct-construct.rs
blob: fbf97e6b22558152fe41c394d6167e56bf212759 (plain)
1
2
3
4
5
6
7
8
9
// run-pass
#[allow(unused_tuple_struct_fields)]
#[derive(Debug)]
struct Foo(isize, isize);

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