Commit ec124043 by Paolo Carlini Committed by Paolo Carlini

re PR c++/59004 (ICE generated by __func__)

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

	PR c++/59004
	* g++.dg/ext/fnname4.C: New.

From-SVN: r219353
parent 8b93f829
2015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/59004
* g++.dg/ext/fnname4.C: New.
2015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/64462
* g++.dg/cpp0x/constexpr-64462.C: New.
......
// PR c++/59004
template<int z> class A {};
template<int x>
class B {
public:
static const int y = (x != -1 ? 0 : 0);
template<int z> void g(const A<y> &a) {
const char *x2 = __func__;
}
};
template void B<0>::g<0>(const A<0> &);
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