aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/cxx-template-decl.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-04-06 06:28:32 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-04-06 06:28:32 +0000
commit673720d8cfbc8c9d08faec2817f1e1452e4ecc2e (patch)
tree99194974a6866a396b6421f03e2cb343ad8b6d7b /test/Parser/cxx-template-decl.cpp
parent9df1b963a69dc85a271b3791267e994485e0bfe1 (diff)
Fix diagnostic text for r154163.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154164 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/cxx-template-decl.cpp')
-rw-r--r--test/Parser/cxx-template-decl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Parser/cxx-template-decl.cpp b/test/Parser/cxx-template-decl.cpp
index 21ff21b016..870be930a6 100644
--- a/test/Parser/cxx-template-decl.cpp
+++ b/test/Parser/cxx-template-decl.cpp
@@ -11,8 +11,8 @@ template < ; // expected-error {{parse error}} \
// expected-warning {{declaration does not declare anything}}
template <template X> struct Err1; // expected-error {{expected '<' after 'template'}} \
// expected-error{{extraneous}}
-template <template <typename> > struct Err2; // expected-error {{template template parameters require 'class' after the parameter list}}
-template <template <typename> Foo> struct Err3; // expected-error {{template template parameters require 'class' after the parameter list}}
+template <template <typename> > struct Err2; // expected-error {{template template parameter requires 'class' after the parameter list}}
+template <template <typename> Foo> struct Err3; // expected-error {{template template parameter requires 'class' after the parameter list}}
// Template function declarations
template <typename T> void foo();