[clang-tidy][use-internal-linkage]fix false positives for global overloaded operator...
[llvm-project.git] / clang / test / CodeGenCXX / conversion-operator-base.cpp
blobe62e225a201fc20f55bda4a8caa3ea7a2e95b761
1 // RUN: %clang_cc1 -emit-llvm-only %s -verify
2 // expected-no-diagnostics
3 // PR5730
5 struct A { operator int(); float y; };
6 struct B : A { double z; };
7 void a() { switch(B()) {} }