aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@dcc.unicamp.br>1999-07-04 21:13:17 +0000
committerAlexandre Oliva <oliva@gcc.gnu.org>1999-07-04 21:13:17 +0000
commit6087c716a0cb02b5107dc74cefb8473cbf1a4a06 (patch)
treeabd4d9b41b5d67e56a7755a9d76b8e8873d175dc
parente9edf69f9423655f5131e9dc72b08ce3234be353 (diff)
downloadgcc-6087c716a0cb02b5107dc74cefb8473cbf1a4a06.zip
gcc-6087c716a0cb02b5107dc74cefb8473cbf1a4a06.tar.gz
gcc-6087c716a0cb02b5107dc74cefb8473cbf1a4a06.tar.bz2
* ns3.C: New test.
From-SVN: r27938
-rw-r--r--gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog4
-rw-r--r--gcc/testsuite/g++.old-deja/g++.oliva/ns3.C14
2 files changed, 18 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog b/gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog
index a3b040a..241890c 100644
--- a/gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog
+++ b/gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog
@@ -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
index 0000000..f688f01
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.oliva/ns3.C
@@ -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;
+ };
+}