]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.mike/eh46.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / eh46.C
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/eh46.C b/gcc/testsuite/g++.old-deja/g++.mike/eh46.C
deleted file mode 100644 (file)
index dfce386..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-// Build don't link:
-// Special g++ Options: -fexceptions
-// excess errors test - XFAIL a29k-*-* arm-*-pe
-
-int atoi(const char *);
-
-struct ios {
- virtual ~ios();
-};
-class fstreambase : virtual public ios {
-};
-
-class ifstream : public fstreambase {
-};
-
-class ofstream : public fstreambase {
-};
-
-extern const short O;
-extern const short D;
-
-const short O=  0;
-const short D= -3;
-
-
-short glc(const char* const * const l,
-         short& n,short& x,short& y,
-         ifstream* i,ofstream* o)
-
-{
-  n=atoi(l[1]);
-
-  x=atoi(l[2]);
-  y=atoi(l[3]);
-
-  if((x < 0)||(y <0))
-    {
-     return D;
-    }
-
-  i = new ifstream[n];
-  o = new ofstream[2];
-
-  return O;
-
-}