https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94750
Bug ID: 94750 Summary: [10 Regression] Redundant identical using-declaration rejected since r10-554 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppalka at gcc dot gnu.org Target Milestone: --- $ cat testcase.C namespace ns { using type = int; } int main() { using ns::type; using ns::type; } $ g++ testcase.C testcase.C: In function ‘int main()’: testcase.C: error: redeclaration of ‘using type = int’ 10 | using ns::type; | ^~~~ testcase.C: note: previous declaration ‘using type = int’ 3 | using type = int; | ^~~~