Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CXX / class.derived / p2.cpp
blob401ee37ad6b64c801707d49db2668b8748437c8a
1 // RUN: %clang_cc1 %s -fsyntax-only -verify
2 // expected-no-diagnostics
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 } // namespace PR5840
11 namespace issue_16855 {
12 struct x {};
13 namespace
15 namespace x
17 struct y : x
18 {};
19 } // namespace x
21 } // namespace issue_16855