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