Debian Codegraph @

gcc/testsuite/g++.dg/lookup/using68.C

raw
1 // { dg-do compile }
2
3 struct S {}; // { dg-message "previous" }
4 void foo() {
5 using ::S;
6 struct S {}; // { dg-error "redefinition" }
7 }