conversion-operator-base.cpp 180 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 // RUN: %clang_cc1 -emit-llvm-only %s -verify // expected-no-diagnostics // PR5730 struct A { operator int(); float y; }; struct B : A { double z; }; void a() { switch(B()) {} }