* g++.old-deja/g++.pt/memtemp100.C: Remove non-standard
constructs.
From-SVN: r47448
+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.
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()
};
-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>();
}