]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/crash24.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / crash24.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/crash24.C b/gcc/testsuite/g++.old-deja/g++.other/crash24.C
deleted file mode 100644 (file)
index b3561af..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Build don't link:
-// Origin: Jakub Jelinek <jakub@redhat.com>
-
-class foo {
- public:
-   class __iterator;
-   friend class __iterator;
-   typedef __iterator const_iterator;
-   virtual ~foo() { }
-   __iterator begin();                         // ERROR - 
-};
-static void iteratorTest(const foo &x)
-{
-   foo::const_iterator i = x.begin();          // ERROR - 
-   for (; i; ++i)
-      *i;
-}