Sign in
fuchsia
/
third_party
/
swift-clang
/
refs/tags/swift-3.0.1-PREVIEW-2
/
.
/
test
/
CXX
/
class.derived
/
class.member.lookup
/
p7.cpp
blob: a785e0f90e57b1c26d210ba0a7e5762cce5b53cd [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -verify %s
// expected-no-diagnostics
struct
A
{
int
n
;
};
struct
B
{
float
n
;
};
struct
C
:
A
,
B
{};
struct
D
:
virtual
C
{};
struct
E
:
virtual
C
{
char
n
;
};
struct
F
:
D
,
E
{}
f
;
char
&
k
=
f
.
n
;