From 4c8b24812ddcd1dedaca343a6d4e76f91f398981 Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Wed, 14 Oct 2009 18:03:49 +0000 Subject: Update clang to r84119. --- test/SemaCXX/cast-explicit-ctor.cpp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/SemaCXX/cast-explicit-ctor.cpp (limited to 'test/SemaCXX/cast-explicit-ctor.cpp') diff --git a/test/SemaCXX/cast-explicit-ctor.cpp b/test/SemaCXX/cast-explicit-ctor.cpp new file mode 100644 index 000000000000..62134ae658db --- /dev/null +++ b/test/SemaCXX/cast-explicit-ctor.cpp @@ -0,0 +1,6 @@ +// RUN: clang-cc -fsyntax-only -verify %s +struct B { explicit B(bool); }; +void f() { + (void)(B)true; + (void)B(true); +} -- cgit v1.3