Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
59a9881ab252c80735d6440bd9ca0fbac252e6a8
/
.
/
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
())
{}
}