| 1 |
// { dg-do assemble } |
| 2 |
// Bug: We were complaining about explicit instantiation of A<T>::B. |
| 3 |
|
| 4 |
template <class T> |
| 5 |
struct A |
| 6 |
{ |
| 7 |
public: |
| 8 |
~A() { } |
| 9 |
|
| 10 |
class B; |
| 11 |
}; |
| 12 |
|
| 13 |
template <> class A<int>::B { }; |
| 14 |
|
| 15 |
template class A<int>; |
| 16 |
template class A<double>; |