conversion-operator-base.cpp revision 2ce79bc4fd6818abfcdaffcad136994905e62fea
1// RUN: clang-cc -emit-llvm-only %s -verify
2// PR5730
3
4struct A { operator int(); float y; };
5struct B : A { double z; };
6void a() { switch(B()) {} }
7
8