conversion-operator-base.cpp revision a5728872c7702ddd09537c95bc3cbd20e1f2fb09
1// RUN: %clang_cc1 -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