diff options
Diffstat (limited to 'clang/test/CXX/temp/temp.param')
-rw-r--r-- | clang/test/CXX/temp/temp.param/p10-0x.cpp | 1 | ||||
-rw-r--r-- | clang/test/CXX/temp/temp.param/p10.cpp | 1 | ||||
-rw-r--r-- | clang/test/CXX/temp/temp.param/p13.cpp | 1 | ||||
-rw-r--r-- | clang/test/CXX/temp/temp.param/p2.cpp | 1 | ||||
-rw-r--r-- | clang/test/CXX/temp/temp.param/p5.cpp | 1 | ||||
-rw-r--r-- | clang/test/CXX/temp/temp.param/p8.cpp | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CXX/temp/temp.param/p10-0x.cpp b/clang/test/CXX/temp/temp.param/p10-0x.cpp index 37bb284a36e..21a96bf613e 100644 --- a/clang/test/CXX/temp/temp.param/p10-0x.cpp +++ b/clang/test/CXX/temp/temp.param/p10-0x.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s +// expected-no-diagnostics template<typename> struct Y1; template<typename, int> struct Y2; diff --git a/clang/test/CXX/temp/temp.param/p10.cpp b/clang/test/CXX/temp/temp.param/p10.cpp index b9dac75beb9..4feea828466 100644 --- a/clang/test/CXX/temp/temp.param/p10.cpp +++ b/clang/test/CXX/temp/temp.param/p10.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// expected-no-diagnostics template<typename> struct Y1; template<typename, int> struct Y2; diff --git a/clang/test/CXX/temp/temp.param/p13.cpp b/clang/test/CXX/temp/temp.param/p13.cpp index 7e7dbe58a7b..257b36f4f96 100644 --- a/clang/test/CXX/temp/temp.param/p13.cpp +++ b/clang/test/CXX/temp/temp.param/p13.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// expected-no-diagnostics // The scope of atemplate-parameterextends from its point of // declaration until the end of its template. In particular, a diff --git a/clang/test/CXX/temp/temp.param/p2.cpp b/clang/test/CXX/temp/temp.param/p2.cpp index fed6e9c266b..4eca05774ab 100644 --- a/clang/test/CXX/temp/temp.param/p2.cpp +++ b/clang/test/CXX/temp/temp.param/p2.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// expected-no-diagnostics // There is no semantic difference between class and typename in a // template-parameter. typename followed by an unqualified-id names a 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; diff --git a/clang/test/CXX/temp/temp.param/p8.cpp b/clang/test/CXX/temp/temp.param/p8.cpp index fed048cad8b..592e41ec408 100644 --- a/clang/test/CXX/temp/temp.param/p8.cpp +++ b/clang/test/CXX/temp/temp.param/p8.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// expected-no-diagnostics template<int X[10]> struct A; template<int *X> struct A; template<int f(float, double)> struct B; |