* g++.old-deja/g++.pt/decl2.C: New test.
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Thu, 26 Nov 1998 19:40:14 +0000 (19:40 +0000)
committerAlexandre Oliva <oliva@gcc.gnu.org>
Thu, 26 Nov 1998 19:40:14 +0000 (19:40 +0000)
From-SVN: r23909

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.pt/decl2.C [new file with mode: 0644]

index 07fce72348b067a7f36a06350f50ada616db5160..d5caa95a182116ef2be7a7db702d611af287b437 100644 (file)
@@ -1,3 +1,7 @@
+1998-11-27  Alexandre Oliva  <oliva@dcc.unicamp.br>
+
+       * g++.old-deja/g++.pt/decl2.C: New test.
+
 1998-11-26  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
        * g++.old-deja/g++.other/lookup5.C: New test.  Not sure the
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/decl2.C b/gcc/testsuite/g++.old-deja/g++.pt/decl2.C
new file mode 100644 (file)
index 0000000..6c17b1c
--- /dev/null
@@ -0,0 +1,7 @@
+// Build don't link:
+
+// Simplified from testcase by Christophe Boyanique <boyan@imac.u-paris2.fr>
+
+template <class T> struct foo { foo(); };
+template<class T> foo<T>::foo() {}
+T // ERROR - currently an ICE - XFAIL *-*-*