Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Anders Carlsson | faccd72 | 2009-08-28 16:57:08 +0000 | [diff] [blame] | 2 | struct B { explicit B(bool); }; |
Anders Carlsson | 83b534c | 2009-08-28 16:22:20 +0000 | [diff] [blame] | 3 | void f() { |
4 | (void)(B)true; | ||||
5 | (void)B(true); | ||||
6 | } |