[lld][WebAssembly] Reinstate mistakenly disabled test. NFC
[llvm-project.git] / clang / test / SemaCXX / cast-explicit-ctor.cpp
blob41d2fa2fbf2c75839c3a4f978787b8bb2eaa9e58
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
3 struct B { explicit B(bool); };
4 void f() {
5 (void)(B)true;
6 (void)B(true);