1 2 3 4 5 6 7
mod foo { pub struct S; } use foo::S as T; const V: T = T; // { dg-warning "unused name" }