brintos

brintos / llvm-project-archived public Read only

0
0
Text · 422 B · 401ee37 Raw
22 lines · cpp
1// RUN: %clang_cc1 %s -fsyntax-only -verify2// expected-no-diagnostics3 4// "During the lookup for a base class name, non-type names are ignored"5namespace PR5840 {6  struct Base {};7  int Base = 10;8  struct Derived : Base {};9} // namespace PR584010 11namespace issue_16855 {12  struct x {};13  namespace14  {15      namespace x16      {17          struct y : x18          {};19      } // namespace x20  }21} // namespace issue_1685522