blob: 16c0785827bc8a055c9af848c191cf96414c2738 [file] [log] [blame]
// PR c++/92024
// { dg-additional-options "-Wshadow=compatible-local" }
template<typename>
struct S {
S () {
struct c;
{
struct c {}; // { dg-warning "Wshadow=compatible-local" }
}
}
};
S<int> s;