2015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/59004
* g++.dg/ext/fnname4.C: New.
From-SVN: r219353
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.
--- /dev/null
+// 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> &);