aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/issue-2709.rs
blob: 42fe7af230d91bcc4fabb2be0bb975c4d3eb760a (plain)
1
2
3
4
5
6
7
8
fn main() {}

struct S;

impl S {
    const Y: u8;
    // { dg-error "associated constant in .impl. without body" "" { target *-*-* } .-1 }
}