Commit 87c66338 by Paolo Carlini Committed by Paolo Carlini

re PR c++/52844 (ICE)

2014-04-10  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/52844
	* g++.dg/cpp0x/variadic156.C: New.

From-SVN: r209276
parent 0e2f1313
2014-04-10 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/52844
* g++.dg/cpp0x/variadic156.C: New.
2014-04-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gcc.target/s390/htm-builtins-compile-1.c: Replace long long with
......
// PR c++/52844
// { dg-do compile { target c++11 } }
template < class > struct V { };
template < int...Is > void f ( V < Is...>) { } // { dg-error "mismatch|type" }
auto g ( ) -> decltype ( f ( V < long > ( ) ) ) ; // { dg-error "matching" }
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