Sign in
fuchsia
/
third_party
/
swift-clang
/
a40ea3abe6e2f0b338d00c38fe7d724241c5af97
/
.
/
test
/
CodeGenCXX
/
conversion-operator-base.cpp
blob: e62e225a201fc20f55bda4a8caa3ea7a2e95b761 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm-only %s -verify
// expected-no-diagnostics
// PR5730
struct
A
{
operator
int
();
float
y
;
};
struct
B
:
A
{
double
z
;
};
void
a
()
{
switch
(
B
())
{}
}