| 1 |
// DR 1710 - Missing template keyword in class-or-decltype |
| 2 |
// { dg-do compile } |
| 3 |
|
| 4 |
template<typename T> struct A { |
| 5 |
template<typename U> struct B { |
| 6 |
}; |
| 7 |
}; |
| 8 |
|
| 9 |
template<typename T> struct D : A<int>::B<int> {}; |
| 10 |
template<typename T> struct D2 : A<int>::template B<int> {}; |