| 1 |
// PR c++/59004 |
| 2 |
|
| 3 |
template<int z> class A {}; |
| 4 |
|
| 5 |
template<int x> |
| 6 |
class B { |
| 7 |
public: |
| 8 |
static const int y = (x != -1 ? 0 : 0); |
| 9 |
|
| 10 |
template<int z> void g(const A<y> &a) { |
| 11 |
const char *x2 = __func__; |
| 12 |
} |
| 13 |
}; |
| 14 |
template void B<0>::g<0>(const A<0> &); |