summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/stmt.stmt/stmt.select/stmt.switch/p2-0x.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CXX/stmt.stmt/stmt.select/stmt.switch/p2-0x.cpp')
-rw-r--r--clang/test/CXX/stmt.stmt/stmt.select/stmt.switch/p2-0x.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CXX/stmt.stmt/stmt.select/stmt.switch/p2-0x.cpp b/clang/test/CXX/stmt.stmt/stmt.select/stmt.switch/p2-0x.cpp
index 000c870d590..d0f15d4d3df 100644
--- a/clang/test/CXX/stmt.stmt/stmt.select/stmt.switch/p2-0x.cpp
+++ b/clang/test/CXX/stmt.stmt/stmt.select/stmt.switch/p2-0x.cpp
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -std=c++11 %s -verify
+// expected-no-diagnostics
struct Value {
constexpr Value(int n) : n(n) {}
OpenPOWER on IntegriCloud