derived3.C: Renamed from lss-001.C.
authorPaul Burchard <burchard@pobox.com>
Fri, 27 Aug 1999 20:23:30 +0000 (20:23 +0000)
committerAlexandre Oliva <oliva@gcc.gnu.org>
Fri, 27 Aug 1999 20:23:30 +0000 (20:23 +0000)
* g++.old-deja/g++.pt/derived3.C: Renamed from lss-001.C.
* g++.old-deja/g++.pt/ttp56.C: Renamed from lss-002.C.
* g++.old-deja/g++.pt/decl4.C: Renamed from lss-003.C.
* g++.old-deja/g++.pt/memtemp85.C: Renamed from lss-004.C.
* g++.old-deja/g++.pt/memtemp86.C: Renamed from lss-005.C.
* g++.old-deja/g++.pt/memtemp87.C: Renamed from lss-006.C.
* g++.old-deja/g++.pt/static10.C: Renamed from lss-007.C.
* g++.old-deja/g++.pt/memtemp88.C: Renamed from lss-008.C.
* g++.old-deja/g++.pt/memtemp89.C: Renamed from lss-009.C.
* g++.old-deja/g++.pt/memtemp90.C: Renamed from lss-010.C.
* g++.old-deja/g++.pt/memtemp91.C: Renamed from lss-011.C.

From-SVN: r28936

23 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.pt/decl4.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/derived3.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/lss-001.C [deleted file]
gcc/testsuite/g++.old-deja/g++.pt/lss-002.C [deleted file]
gcc/testsuite/g++.old-deja/g++.pt/lss-003.C [deleted file]
gcc/testsuite/g++.old-deja/g++.pt/lss-004.C [deleted file]
gcc/testsuite/g++.old-deja/g++.pt/lss-005.C [deleted file]
gcc/testsuite/g++.old-deja/g++.pt/lss-006.C [deleted file]
gcc/testsuite/g++.old-deja/g++.pt/lss-007.C [deleted file]
gcc/testsuite/g++.old-deja/g++.pt/lss-008.C [deleted file]
gcc/testsuite/g++.old-deja/g++.pt/lss-009.C [deleted file]
gcc/testsuite/g++.old-deja/g++.pt/lss-010.C [deleted file]
gcc/testsuite/g++.old-deja/g++.pt/lss-011.C [deleted file]
gcc/testsuite/g++.old-deja/g++.pt/memtemp85.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/memtemp86.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/memtemp87.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/memtemp88.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/memtemp89.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/memtemp90.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/memtemp91.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/static10.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/ttp56.C [new file with mode: 0644]

index 45a280dc26e7ab100f31d52115aa01bfee5fb74d..bcffd34a3d5d7b5243cd40f820c33a56950dbcab 100644 (file)
@@ -1,3 +1,17 @@
+1999-08-27  Paul Burchard  <burchard@pobox.com>
+
+       * g++.old-deja/g++.pt/derived3.C: Renamed from lss-001.C.
+       * g++.old-deja/g++.pt/ttp56.C: Renamed from lss-002.C.
+       * g++.old-deja/g++.pt/decl4.C: Renamed from lss-003.C.
+       * g++.old-deja/g++.pt/memtemp85.C: Renamed from lss-004.C.
+       * g++.old-deja/g++.pt/memtemp86.C: Renamed from lss-005.C.
+       * g++.old-deja/g++.pt/memtemp87.C: Renamed from lss-006.C.
+       * g++.old-deja/g++.pt/static10.C: Renamed from lss-007.C.
+       * g++.old-deja/g++.pt/memtemp88.C: Renamed from lss-008.C.
+       * g++.old-deja/g++.pt/memtemp89.C: Renamed from lss-009.C.
+       * g++.old-deja/g++.pt/memtemp90.C: Renamed from lss-010.C.
+       * g++.old-deja/g++.pt/memtemp91.C: Renamed from lss-011.C.
+
 Fri Aug 27 01:24:16 1999  Jeffrey A Law  (law@cygnus.com)
 
        * gcc.c-torture/execute/990827-1.c: New test.
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/decl4.C b/gcc/testsuite/g++.old-deja/g++.pt/decl4.C
new file mode 100644 (file)
index 0000000..29fcea1
--- /dev/null
@@ -0,0 +1,8 @@
+// Build don't link:
+// crash test -
+
+// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
+// Copyright (C) 1999 Free Software Foundation
+
+typedef std::vector<int>::iterator iter; // ERROR - syntax error before `::'
+
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/derived3.C b/gcc/testsuite/g++.old-deja/g++.pt/derived3.C
new file mode 100644 (file)
index 0000000..9b4bda5
--- /dev/null
@@ -0,0 +1,15 @@
+// Build don't link:
+// crash test -
+
+// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
+// Copyright (C) 1999 Free Software Foundation
+
+template<class T>
+class X {
+       class Y : public T {}; // ERROR - invalid base type
+       Y y;
+};
+int main() {
+       X<int> x; // ERROR - (instantiated from here)
+}
+
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/lss-001.C b/gcc/testsuite/g++.old-deja/g++.pt/lss-001.C
deleted file mode 100644 (file)
index 9b4bda5..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-// Build don't link:
-// crash test -
-
-// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
-// Copyright (C) 1999 Free Software Foundation
-
-template<class T>
-class X {
-       class Y : public T {}; // ERROR - invalid base type
-       Y y;
-};
-int main() {
-       X<int> x; // ERROR - (instantiated from here)
-}
-
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/lss-002.C b/gcc/testsuite/g++.old-deja/g++.pt/lss-002.C
deleted file mode 100644 (file)
index 562f430..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// Build don't link:
-
-// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
-// Copyright (C) 1999 Free Software Foundation
-
-template<class X>
-class A {
-};
-template<class Y>
-class B {
-};
-
-template<template<class XX> class AA> // gets bogus error - `template <class XX> template <class X> class A<X>' previously declared here
-class C {
-       class D {
-       };
-       D d;
-       class E : public B<D> {
-       };
-       E e;
-};
-
-int main() {
-       C<A> c; // gets bogus error - redefinition of `template <class XX> template <class X> class A<X>'
-}
-
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/lss-003.C b/gcc/testsuite/g++.old-deja/g++.pt/lss-003.C
deleted file mode 100644 (file)
index 29fcea1..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-// Build don't link:
-// crash test -
-
-// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
-// Copyright (C) 1999 Free Software Foundation
-
-typedef std::vector<int>::iterator iter; // ERROR - syntax error before `::'
-
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/lss-004.C b/gcc/testsuite/g++.old-deja/g++.pt/lss-004.C
deleted file mode 100644 (file)
index ef8f048..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Build don't link:
-// crash test - XFAIL *-*-*
-
-// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
-// Copyright (C) 1999 Free Software Foundation
-
-class Q {
-       template<class>
-       class X {
-       };
-};
-template<template<class> class>
-class Y {
-};
-Y<Q::X> y1;
-
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/lss-005.C b/gcc/testsuite/g++.old-deja/g++.pt/lss-005.C
deleted file mode 100644 (file)
index 47a587f..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Build don't link:
-// crash test - XFAIL *-*-*
-
-// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
-// Copyright (C) 1999 Free Software Foundation
-
-class Q {
-       template<class>
-       class X {
-       };
-};
-template<template<class> class>
-class Y {
-};
-Y<typename Q::X> y; // ERROR - typename out of template context
-
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/lss-006.C b/gcc/testsuite/g++.old-deja/g++.pt/lss-006.C
deleted file mode 100644 (file)
index a57ad17..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Build don't link:
-// crash test - XFAIL *-*-*
-
-// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
-// Copyright (C) 1999 Free Software Foundation
-
-class Q {
-       template<class>
-       class X {
-       };
-};
-template<template<class> class>
-class Y {
-};
-Q::template X<int> x; // ERROR - template syntax
-
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/lss-007.C b/gcc/testsuite/g++.old-deja/g++.pt/lss-007.C
deleted file mode 100644 (file)
index cf2336f..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-// Build don't link:
-// crash test - XFAIL *-*-*
-// regression test -
-
-// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
-// Copyright (C) 1999 Free Software Foundation
-
-template<class A>
-struct X {
-       X(A) {
-       }
-};
-template<class A>
-struct Y {
-       static X<A> x(A(1)); // ERROR - ANSI C++ forbids in-class initialization of non-const static member `x'
-};
-Y<int> y;
-
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/lss-008.C b/gcc/testsuite/g++.old-deja/g++.pt/lss-008.C
deleted file mode 100644 (file)
index 56dab46..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Build don't link:
-// crash test - XFAIL *-*-*
-
-// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
-// Copyright (C) 1999 Free Software Foundation
-
-struct Q {
-       template<class>
-       class X {
-       };
-       template<template<class> class XX = X> // gets bogus error - (original definition appeared here)
-       class Y {
-       }; // gets bogus error - redefinition of default argument for `template <class> XX'
-       Y<> y;
-};
-
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/lss-009.C b/gcc/testsuite/g++.old-deja/g++.pt/lss-009.C
deleted file mode 100644 (file)
index 7cc027a..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Build don't link:
-// crash test - XFAIL *-*-*
-
-// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
-// Copyright (C) 1999 Free Software Foundation
-
-class Q {
-       template<class T>
-       class X {
-       };
-};
-template<template<class> class XX>
-class Y {
-       XX<int> x_;
-};
-Y<Q::X> y;
-
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/lss-010.C b/gcc/testsuite/g++.old-deja/g++.pt/lss-010.C
deleted file mode 100644 (file)
index 15dcca7..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// Build don't link:
-// regression test - 
-
-// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
-// Copyright (C) 1999 Free Software Foundation
-// related to bug report by Leon Bottou <leonb@research.att.com>
-
-struct A {
-       template<class T>
-       struct B {
-       };
-       template<class T>
-       struct C {
-               B<T> b; // gets bogus error - B is not a template
-                       // but removing wrapper A gets rid of complaint
-                       // also, replacing B<T> with A::B<T> also gets rid of complaint
-       };
-};
-
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/lss-011.C b/gcc/testsuite/g++.old-deja/g++.pt/lss-011.C
deleted file mode 100644 (file)
index be97e9f..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Build don't link:
-// crash test - XFAIL *-*-*
-// regression test -
-
-// simplified from bug report by Leon Bottou <leonb@research.att.com>
-// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
-// Copyright (C) 1999 Free Software Foundation
-
-struct A {
-       template <class T>
-       struct B {
-               T x;
-       };
-       template <class T>
-       struct C : B<T> {
-               C() {}
-       };
-};
-
-
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp85.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp85.C
new file mode 100644 (file)
index 0000000..ef8f048
--- /dev/null
@@ -0,0 +1,16 @@
+// Build don't link:
+// crash test - XFAIL *-*-*
+
+// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
+// Copyright (C) 1999 Free Software Foundation
+
+class Q {
+       template<class>
+       class X {
+       };
+};
+template<template<class> class>
+class Y {
+};
+Y<Q::X> y1;
+
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp86.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp86.C
new file mode 100644 (file)
index 0000000..47a587f
--- /dev/null
@@ -0,0 +1,16 @@
+// Build don't link:
+// crash test - XFAIL *-*-*
+
+// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
+// Copyright (C) 1999 Free Software Foundation
+
+class Q {
+       template<class>
+       class X {
+       };
+};
+template<template<class> class>
+class Y {
+};
+Y<typename Q::X> y; // ERROR - typename out of template context
+
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp87.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp87.C
new file mode 100644 (file)
index 0000000..a57ad17
--- /dev/null
@@ -0,0 +1,16 @@
+// Build don't link:
+// crash test - XFAIL *-*-*
+
+// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
+// Copyright (C) 1999 Free Software Foundation
+
+class Q {
+       template<class>
+       class X {
+       };
+};
+template<template<class> class>
+class Y {
+};
+Q::template X<int> x; // ERROR - template syntax
+
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp88.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp88.C
new file mode 100644 (file)
index 0000000..56dab46
--- /dev/null
@@ -0,0 +1,16 @@
+// Build don't link:
+// crash test - XFAIL *-*-*
+
+// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
+// Copyright (C) 1999 Free Software Foundation
+
+struct Q {
+       template<class>
+       class X {
+       };
+       template<template<class> class XX = X> // gets bogus error - (original definition appeared here)
+       class Y {
+       }; // gets bogus error - redefinition of default argument for `template <class> XX'
+       Y<> y;
+};
+
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp89.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp89.C
new file mode 100644 (file)
index 0000000..7cc027a
--- /dev/null
@@ -0,0 +1,17 @@
+// Build don't link:
+// crash test - XFAIL *-*-*
+
+// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
+// Copyright (C) 1999 Free Software Foundation
+
+class Q {
+       template<class T>
+       class X {
+       };
+};
+template<template<class> class XX>
+class Y {
+       XX<int> x_;
+};
+Y<Q::X> y;
+
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp90.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp90.C
new file mode 100644 (file)
index 0000000..15dcca7
--- /dev/null
@@ -0,0 +1,19 @@
+// Build don't link:
+// regression test - 
+
+// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
+// Copyright (C) 1999 Free Software Foundation
+// related to bug report by Leon Bottou <leonb@research.att.com>
+
+struct A {
+       template<class T>
+       struct B {
+       };
+       template<class T>
+       struct C {
+               B<T> b; // gets bogus error - B is not a template
+                       // but removing wrapper A gets rid of complaint
+                       // also, replacing B<T> with A::B<T> also gets rid of complaint
+       };
+};
+
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp91.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp91.C
new file mode 100644 (file)
index 0000000..be97e9f
--- /dev/null
@@ -0,0 +1,20 @@
+// Build don't link:
+// crash test - XFAIL *-*-*
+// regression test -
+
+// simplified from bug report by Leon Bottou <leonb@research.att.com>
+// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
+// Copyright (C) 1999 Free Software Foundation
+
+struct A {
+       template <class T>
+       struct B {
+               T x;
+       };
+       template <class T>
+       struct C : B<T> {
+               C() {}
+       };
+};
+
+
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/static10.C b/gcc/testsuite/g++.old-deja/g++.pt/static10.C
new file mode 100644 (file)
index 0000000..cf2336f
--- /dev/null
@@ -0,0 +1,18 @@
+// Build don't link:
+// crash test - XFAIL *-*-*
+// regression test -
+
+// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
+// Copyright (C) 1999 Free Software Foundation
+
+template<class A>
+struct X {
+       X(A) {
+       }
+};
+template<class A>
+struct Y {
+       static X<A> x(A(1)); // ERROR - ANSI C++ forbids in-class initialization of non-const static member `x'
+};
+Y<int> y;
+
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/ttp56.C b/gcc/testsuite/g++.old-deja/g++.pt/ttp56.C
new file mode 100644 (file)
index 0000000..562f430
--- /dev/null
@@ -0,0 +1,26 @@
+// Build don't link:
+
+// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
+// Copyright (C) 1999 Free Software Foundation
+
+template<class X>
+class A {
+};
+template<class Y>
+class B {
+};
+
+template<template<class XX> class AA> // gets bogus error - `template <class XX> template <class X> class A<X>' previously declared here
+class C {
+       class D {
+       };
+       D d;
+       class E : public B<D> {
+       };
+       E e;
+};
+
+int main() {
+       C<A> c; // gets bogus error - redefinition of `template <class XX> template <class X> class A<X>'
+}
+