diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-06-16 15:51:22 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-06-16 15:51:22 +0000 |
commit | 7b1170da73469d29c9be0584260764fe4f520872 (patch) | |
tree | 53b67e2635ec32ac0e4e9c285b59ec33419cd7c2 /test/FixIt | |
parent | fa842c73800d05dc44749c9aca9cbab5f8e2cbec (diff) | |
download | clang-7b1170da73469d29c9be0584260764fe4f520872.tar.gz |
[C++1z] Implement N4051: 'typename' is permitted instead of 'class' when declaring a template template parameter.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211031 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FixIt')
-rw-r--r-- | test/FixIt/fixit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/FixIt/fixit.cpp b/test/FixIt/fixit.cpp index 6a8e7d1e84..f264938565 100644 --- a/test/FixIt/fixit.cpp +++ b/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(); |