Debian Codegraph @

gcc/testsuite/g++.dg/parse/crash70.C

raw
1 // PR c++/92024
2 // { dg-additional-options "-Wshadow=compatible-local" }
3
4 template<typename>
5 struct S {
6 S () {
7 struct c;
8 {
9 struct c {}; // { dg-warning "Wshadow=compatible-local" }
10 }
11 }
12 };
13
14 S<int> s;