diff options
author | Mark Mitchell <mark@codesourcery.com> | 2001-11-29 19:04:47 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2001-11-29 19:04:47 +0000 |
commit | 816a39741db8ff02cfc985f31b004a4b7acdcec9 (patch) | |
tree | 7faf0071c8309935b91603796f0ad156726ab696 | |
parent | 8125704bd0b552cf5ea0d84e4d5f74544b0446fa (diff) | |
download | gcc-816a39741db8ff02cfc985f31b004a4b7acdcec9.zip gcc-816a39741db8ff02cfc985f31b004a4b7acdcec9.tar.gz gcc-816a39741db8ff02cfc985f31b004a4b7acdcec9.tar.bz2 |
memtemp100.C: Remove non-standard constructs.
* g++.old-deja/g++.pt/memtemp100.C: Remove non-standard
constructs.
From-SVN: r47448
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/memtemp100.C | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 025adbb..f326990 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2001-11-29 Mark Mitchell <mark@codesourcery.com> + + * g++.old-deja/g++.pt/memtemp100.C: Remove non-standard + constructs. + Wed Nov 28 15:05:54 2001 Jeffrey A Law (law@cygnus.com) * gcc.c-torture/execute/20011128-1.c: New test. diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp100.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp100.C index 14db8ae..c88c3e7 100644 --- a/gcc/testsuite/g++.old-deja/g++.pt/memtemp100.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/memtemp100.C @@ -6,16 +6,16 @@ using namespace std; -template <class _T> struct traits +template <class T> struct traits { typedef long next; }; -template <class _T> +template <class T> struct c1 { - template <class _U> + template <class U> struct c2 { c2() @@ -26,11 +26,11 @@ struct c1 }; -template <class _T> +template <class T> void foo() { cout << __PRETTY_FUNCTION__ << endl; - c1<typename traits<_T>::next>::c2<void>(); + typename c1<typename traits<T>::next>::template c2<void>(); } |