From-SVN: r23706
This commit is contained in:
Jason Merrill 1998-11-18 21:36:36 -05:00
parent ff350acdf9
commit 531d8d47e9
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,9 @@
// Build don't link:
template <class T> struct A {
template <class U> struct B;
};
template <class T> template <class U> struct A<T>::B { };
A<int>::B<int> b;

View File

@ -0,0 +1,9 @@
// Build don't link:
template <class T> struct A {
template <class U> struct B;
};
template <class T> template <class U> struct A<T>::B<U*> { };
A<int>::B<int*> b;