1 2 3 4 5 6 7 8
const x: isize = 1; // { dg-warning "unused name" "" { target *-*-* } .-1 } fn main() { enum Foo { Bar = x, } }