Commit 306620d2 by Jonathan Wakely Committed by Jonathan Wakely

re PR c++/53531 (<,,,,> accepted as template arguments for variadic template)

	PR c++/53531
	* testsuite/g++.dg/cpp0x/variadic135.C: New.

From-SVN: r189452
parent 4817d854
2012-07-13 Jonathan Wakely <jwakely.gcc@gmail.com>
PR c++/53531
* testsuite/g++.dg/cpp0x/variadic135.C: New.
2012-07-12 Jason Merrill <jason@redhat.com>
* g++.dg/template/sfinae6_neg.C: Adjust.
......
// { dg-options "-std=gnu++0x" }
template <typename ...> struct S;
int i = S<int,>::undefined; // { dg-error "template argument 2 is invalid" }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment