Fix diagnostic text for r154163.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154164 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/FixIt/fixit-cxx0x.cpp b/test/FixIt/fixit-cxx0x.cpp
index 9e1f737..997d73a 100644
--- a/test/FixIt/fixit-cxx0x.cpp
+++ b/test/FixIt/fixit-cxx0x.cpp
@@ -101,6 +101,6 @@
int g = me.g(ifn, kfn);
}
-template<template<typename> ...Foo, // expected-error {{template template parameters require 'class' after the parameter list}}
- template<template<template<typename>>>> // expected-error 3 {{template template parameters require 'class' after the parameter list}}
+template<template<typename> ...Foo, // expected-error {{template template parameter requires 'class' after the parameter list}}
+ template<template<template<typename>>>> // expected-error 3 {{template template parameter requires 'class' after the parameter list}}
void func();
diff --git a/test/FixIt/fixit.cpp b/test/FixIt/fixit.cpp
index e6701ad..7d531a5 100644
--- a/test/FixIt/fixit.cpp
+++ b/test/FixIt/fixit.cpp
@@ -200,7 +200,7 @@
return Mystery<T>::get();
}
-template<template<typename> Foo, // expected-error {{template template parameters require 'class' after the parameter list}}
- template<typename> typename Bar, // expected-error {{template template parameters require 'class' after the parameter list}}
- template<typename> struct Baz> // expected-error {{template template parameters require 'class' after the parameter list}}
+template<template<typename> Foo, // expected-error {{template template parameter requires 'class' after the parameter list}}
+ template<typename> typename Bar, // expected-error {{template template parameter requires 'class' after the parameter list}}
+ template<typename> struct Baz> // expected-error {{template template parameter requires 'class' after the parameter list}}
void func();