aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/issue-3922.rs
blob: 3c07f94c295f775579c1c4bf440ff1f82f810485 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
struct S(
    [u8; {
        {
            // { dg-error "mismatched types. expected .... but got ..integer.. .E0308." "" { target *-*-* } .-1 }
            struct Z;
            0
        }
        0
    }],
);

fn main() {}