]> granicus.if.org Git - clang/commitdiff
Correct test from r152189.
authorEli Friedman <eli.friedman@gmail.com>
Wed, 7 Mar 2012 01:13:38 +0000 (01:13 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Wed, 7 Mar 2012 01:13:38 +0000 (01:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152191 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaTemplate/temp_arg_template.cpp

index 106111e4299cabdb3a0689da2be1ff1153c9603b..c9ce1b694363818e38d23956b9ad67b6d714dff3 100644 (file)
@@ -56,7 +56,7 @@ namespace N {
 }
 
 // PR12179
-template <typename Primitive, template <Primitive...> class F>
+template <typename Primitive, template <Primitive...> class F> // expected-warning {{variadic templates are a C++11 extension}}
 struct unbox_args {
   typedef typename Primitive::template call<F> x;
 };