Sign in
llvm
/
clang
/
1571f048734190c5ed03d1a6083e579ec7b5801f
/
.
/
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
())
{}
}