aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/crash6.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/crash6.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/crash6.C23
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/crash6.C b/gcc/testsuite/g++.old-deja/g++.pt/crash6.C
deleted file mode 100644
index 09e8df07973..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/crash6.C
+++ /dev/null
@@ -1,23 +0,0 @@
-// Build don't link:
-
-template <class T> class List;
-
-template <class T>
-struct ListIterator
-{
- ListIterator ();
- ListIterator (const ListIterator<T>& rhs);
-};
-
-template <class T>
-struct List
-{
- void length () const {
- for (ListIterator<T> li; li; ); // ERROR - used where a `bool'
- }
-};
-
-void test(List<int>& vals)
-{
- vals.length(); // ERROR - instantiated from here
-}