summaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/redef_error1.rs
blob: ae51e36c87f495f80ee93e7576283f975b02330b (plain)
1
2
3
4
5
6
7
8
struct S1 {
    x: f64,
    y: f64,
}

struct S1(i32, bool); // { dg-error "redefined multiple times" }

fn main() {}