repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CXX
/
class.derived
/
p2.cpp
blob
401ee37ad6b64c801707d49db2668b8748437c8a
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
}
// namespace PR5840
10
11
namespace
issue_16855
{
12
struct
x
{};
13
namespace
14
{
15
namespace
x
16
{
17
struct
y
:
x
18
{};
19
}
// namespace x
20
}
21
}
// namespace issue_16855