| 1 |
// PR c++/71569 |
| 2 |
// { dg-do compile { target c++14 } } |
| 3 |
|
| 4 |
template <class T> |
| 5 |
struct A { |
| 6 |
template <class U> |
| 7 |
static const U u; |
| 8 |
}; |
| 9 |
|
| 10 |
template <class T> |
| 11 |
template <class U> |
| 12 |
const U* A<T>::u<U*> = 0; |
| 13 |
|
| 14 |
const int *p = A<char>::u<int*>; |