Commit 8282c877 by Paolo Carlini Committed by Paolo Carlini

re PR c++/66595 ([C++14] ICE in partial specialization template variables)

2015-08-05  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/66595
	* g++.dg/cpp1y/var-templ35.C: New.

From-SVN: r226617
parent cd583fe1
2015-08-05 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/66595
* g++.dg/cpp1y/var-templ35.C: New.
2015-08-05 Richard Biener <rguenther@suse.de>
PR tree-optimization/67055
......
// PR c++/66595
// { dg-do compile { target c++14 } }
template<typename T> int typeID{42};
template<typename T> double typeID<double>{10.10}; // { dg-error "primary template|redeclaration" }
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