New test
authorMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 26 Jul 1999 18:26:21 +0000 (18:26 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 26 Jul 1999 18:26:21 +0000 (18:26 +0000)
From-SVN: r28273

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

diff --git a/gcc/testsuite/g++.old-deja/g++.pt/crash44.C b/gcc/testsuite/g++.old-deja/g++.pt/crash44.C
new file mode 100644 (file)
index 0000000..3e7b175
--- /dev/null
@@ -0,0 +1,13 @@
+// Build don't link:
+// Origin: Mark Mitchell <mark@codesourcery.com>
+
+// crash test - XFAIL *-*-*
+
+template <class T>
+struct S 
+{
+  template <class U>
+  friend S<U>;
+};
+
+template struct S<int>;