xref: /minix3/external/bsd/llvm/dist/clang/test/CXX/class.derived/p2.cpp (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1 // RUN: %clang_cc1 %s -fsyntax-only -verify
2 // expected-no-diagnostics
3 
4 // "During the lookup for a base class name, non-type names are ignored"
5 namespace PR5840 {
6   struct Base {};
7   int Base = 10;
8   struct Derived : Base {};
9 }
10