aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>1999-07-26 18:26:21 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-07-26 18:26:21 +0000
commit4f8fb8c43e088eef54c74631ab38d8cf3ca6d588 (patch)
treea9ca4137338e55f855c7f450c3aa53c2ca93665a /gcc
parent4143af330f1079ad839fdf495c9b7bc34ac3e849 (diff)
downloadgcc-4f8fb8c43e088eef54c74631ab38d8cf3ca6d588.zip
gcc-4f8fb8c43e088eef54c74631ab38d8cf3ca6d588.tar.gz
gcc-4f8fb8c43e088eef54c74631ab38d8cf3ca6d588.tar.bz2
New test
From-SVN: r28273
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/crash44.C13
1 files changed, 13 insertions, 0 deletions
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
index 0000000..3e7b175
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.pt/crash44.C
@@ -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>;