summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/temp/temp.param/p5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CXX/temp/temp.param/p5.cpp')
-rw-r--r--clang/test/CXX/temp/temp.param/p5.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CXX/temp/temp.param/p5.cpp b/clang/test/CXX/temp/temp.param/p5.cpp
index 3cbb3b7c010..67efc4e4816 100644
--- a/clang/test/CXX/temp/temp.param/p5.cpp
+++ b/clang/test/CXX/temp/temp.param/p5.cpp
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -verify %s -std=c++11
+// expected-no-diagnostics
template<const int I> struct S {
decltype(I) n;
OpenPOWER on IntegriCloud