1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 struct B { explicit B(bool); };
3 void f() {
4   (void)(B)true;
5   (void)B(true);
6 }
7