blob: 0052856d2ff928d7601b68a0b3ffaadd6c069113 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -fsyntax-only -verify %s
Anders Carlssonfaccd722009-08-28 16:57:08 +00002struct B { explicit B(bool); };
Anders Carlsson83b534c2009-08-28 16:22:20 +00003void f() {
4 (void)(B)true;
5 (void)B(true);
6}