aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/tuple_struct2.rs
blob: 1fc1896857738fd43ef1c4dad61dc6dc7310eae3 (plain)
1
2
3
4
5
struct Bar(i32, i32, bool);

fn main() {
    let a = Bar(1, 2); // { dg-error "unexpected number of arguments 2 expected 3" }
}