forked from OSchip/llvm-project
8 lines
151 B
C++
8 lines
151 B
C++
|
// RUN: clang-cc -emit-llvm-only %s -verify
|
||
|
// PR5730
|
||
|
|
||
|
struct A { operator int(); float y; };
|
||
|
struct B : A { double z; };
|
||
|
void a() { switch(B()) {} }
|
||
|
|