* ns3.C: New test.
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Sun, 4 Jul 1999 21:13:17 +0000 (21:13 +0000)
committerAlexandre Oliva <oliva@gcc.gnu.org>
Sun, 4 Jul 1999 21:13:17 +0000 (21:13 +0000)
From-SVN: r27938

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

index a3b040ac02d52f6234f88882cdf4d4d5bfea8ecb..241890cfeacf9c9d41da893a03c373dee92083b3 100644 (file)
@@ -1,3 +1,7 @@
+1999-07-05  Alexandre Oliva  <oliva@dcc.unicamp.br>
+
+       * ns3.C: New test.
+
 1999-07-03  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
        * ctor1.C: New test.
diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/ns3.C b/gcc/testsuite/g++.old-deja/g++.oliva/ns3.C
new file mode 100644 (file)
index 0000000..f688f01
--- /dev/null
@@ -0,0 +1,14 @@
+// Build don't link:
+
+// Copyright (C) 1999 Free Software Foundation
+
+// by Alexandre Oliva <oliva@dcc.unicamp.br>
+// based on bug report by Ovidiu Toader <ovi@physics.utoronto.ca>
+
+// crash test - XFAIL *-*-*
+
+namespace N {
+  template <typename T> class A {
+    template <typename T_> friend class A;
+  };
+}