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