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