aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/tuple_struct3.rs
blob: 4af66b8370e23e59e4d01af8bce7bf0a1e74f6c1 (plain)
1
2
3
4
5
6
struct Foo(i32, i32, bool);

fn main() {
    let c = Foo(1, 2f32, true);
    // { dg-error "expected .i32. got .f32." "" { target *-*-* } .-1 }
}