summaryrefslogtreecommitdiffstats
path: root/clang/test/FixIt/fixit.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-06-16 15:51:22 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-06-16 15:51:22 +0000
commit78e1ca692bf07944c5d35dabb58be10bae640a51 (patch)
tree5593ba65d0cd85577a117827226cf4f5e0b21066 /clang/test/FixIt/fixit.cpp
parentdbd4d4c8375ee79dd9da290695f292ddcb65c3d3 (diff)
downloadbcm5719-llvm-78e1ca692bf07944c5d35dabb58be10bae640a51.tar.gz
bcm5719-llvm-78e1ca692bf07944c5d35dabb58be10bae640a51.zip
[C++1z] Implement N4051: 'typename' is permitted instead of 'class' when declaring a template template parameter.
llvm-svn: 211031
Diffstat (limited to 'clang/test/FixIt/fixit.cpp')
-rw-r--r--clang/test/FixIt/fixit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/FixIt/fixit.cpp b/clang/test/FixIt/fixit.cpp
index 6a8e7d1e849..f2649385656 100644
--- a/clang/test/FixIt/fixit.cpp
+++ b/clang/test/FixIt/fixit.cpp
@@ -204,7 +204,7 @@ template<class T> typedef Mystery<T>::type getMysteriousThing() { // \
}
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> typename Bar, // expected-warning {{template template parameter using 'typename' is a C++1z extension}}
template<typename> struct Baz> // expected-error {{template template parameter requires 'class' after the parameter list}}
void func();
OpenPOWER on IntegriCloud