* template9.C: New test.
authorAlexandre Oliva <oliva@lsd.ic.unicamp.br>
Thu, 11 Nov 1999 14:39:01 +0000 (14:39 +0000)
committerAlexandre Oliva <oliva@gcc.gnu.org>
Thu, 11 Nov 1999 14:39:01 +0000 (14:39 +0000)
From-SVN: r30489

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

index 4ab874ddcd17961c530581d4d99fc458c8387073..f19eeb0df054de144eaf5f6c2c8b3595e4b244f6 100644 (file)
@@ -1,3 +1,7 @@
+1999-11-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
+
+       * template9.C: New test.
+
 1999-09-18  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
 
        * overload1.C: New test.
diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/template9.C b/gcc/testsuite/g++.old-deja/g++.oliva/template9.C
new file mode 100644 (file)
index 0000000..fc2df3e
--- /dev/null
@@ -0,0 +1,11 @@
+// Build don't link:
+
+// Copyright (C) 1999 Free Software Foundation
+
+// by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
+// based on bug report by Philippe Bouchard <boucp00@DMI.USherb.CA>
+
+struct foo {
+  template <class>
+  void bar() = 0; // ERROR - invalid initializer - XFAIL *-*-*
+};