summaryrefslogtreecommitdiff
path: root/test/SemaCXX/cast-explicit-ctor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/cast-explicit-ctor.cpp')
-rw-r--r--test/SemaCXX/cast-explicit-ctor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/SemaCXX/cast-explicit-ctor.cpp b/test/SemaCXX/cast-explicit-ctor.cpp
index 0052856d2ff9..41d2fa2fbf2c 100644
--- a/test/SemaCXX/cast-explicit-ctor.cpp
+++ b/test/SemaCXX/cast-explicit-ctor.cpp
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
struct B { explicit B(bool); };
void f() {
(void)(B)true;