[cfe-commits] r152191 - /cfe/trunk/test/SemaTemplate/temp_arg_template.cpp

Eli Friedman eli.friedman at gmail.com
Tue Mar 6 17:13:38 PST 2012


Author: efriedma
Date: Tue Mar  6 19:13:38 2012
New Revision: 152191

URL: http://llvm.org/viewvc/llvm-project?rev=152191&view=rev
Log:
Correct test from r152189.

Modified:
    cfe/trunk/test/SemaTemplate/temp_arg_template.cpp

Modified: cfe/trunk/test/SemaTemplate/temp_arg_template.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/temp_arg_template.cpp?rev=152191&r1=152190&r2=152191&view=diff
==============================================================================
--- cfe/trunk/test/SemaTemplate/temp_arg_template.cpp (original)
+++ cfe/trunk/test/SemaTemplate/temp_arg_template.cpp Tue Mar  6 19:13:38 2012
@@ -56,7 +56,7 @@
 }
 
 // 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;
 };





More information about the cfe-commits mailing list