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);
7 }
8