diff options
author | Jason Merrill <jason@gcc.gnu.org> | 1998-11-18 21:36:36 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1998-11-18 21:36:36 -0500 |
commit | 531d8d47e901e24cc307467d00b1691b4ca97b93 (patch) | |
tree | e5d6111ffc7d52bd351df1ece906535a88002b78 /gcc | |
parent | ff350acdf9d740f93559072fc1022d2956e2ba07 (diff) | |
download | gcc-531d8d47e901e24cc307467d00b1691b4ca97b93.zip gcc-531d8d47e901e24cc307467d00b1691b4ca97b93.tar.gz gcc-531d8d47e901e24cc307467d00b1691b4ca97b93.tar.bz2 |
new
From-SVN: r23706
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/memclass18.C | 9 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/memclass19.C | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memclass18.C b/gcc/testsuite/g++.old-deja/g++.pt/memclass18.C new file mode 100644 index 0000000..bb7f6f1 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/memclass18.C @@ -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; diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memclass19.C b/gcc/testsuite/g++.old-deja/g++.pt/memclass19.C new file mode 100644 index 0000000..6a8b0a7 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/memclass19.C @@ -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; |