new
From-SVN: r23706
This commit is contained in:
parent
ff350acdf9
commit
531d8d47e9
9
gcc/testsuite/g++.old-deja/g++.pt/memclass18.C
Normal file
9
gcc/testsuite/g++.old-deja/g++.pt/memclass18.C
Normal 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;
|
9
gcc/testsuite/g++.old-deja/g++.pt/memclass19.C
Normal file
9
gcc/testsuite/g++.old-deja/g++.pt/memclass19.C
Normal 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;
|
Loading…
Reference in New Issue
Block a user