summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/except/except.spec/p11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CXX/except/except.spec/p11.cpp')
-rw-r--r--clang/test/CXX/except/except.spec/p11.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CXX/except/except.spec/p11.cpp b/clang/test/CXX/except/except.spec/p11.cpp
index 0e4fad53e35..1f6bf2131cd 100644
--- a/clang/test/CXX/except/except.spec/p11.cpp
+++ b/clang/test/CXX/except/except.spec/p11.cpp
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -std=c++11 -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
+// expected-no-diagnostics
// This is the "let the user shoot himself in the foot" clause.
void f() noexcept {
OpenPOWER on IntegriCloud