Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
d3d3be9bc717b37366324e9711f1ea22dea42caa
/
.
/
test
/
CodeGenCXX
/
conversion-operator-base.cpp
blob: 8fbeadf14916aa1ebd939fe60132ec9efb5cf213 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm-only %s -verify
// PR5730
struct
A
{
operator
int
();
float
y
;
};
struct
B
:
A
{
double
z
;
};
void
a
()
{
switch
(
B
())
{}
}