aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/eh46.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.mike/eh46.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.mike/eh46.C47
1 files changed, 0 insertions, 47 deletions
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
index e0e6553f7c7..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.mike/eh46.C
+++ /dev/null
@@ -1,47 +0,0 @@
-// Build don't link:
-// Special g++ Options: -fexceptions
-// excess errors test - XFAIL a29k-*-* sh-*-* 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;
-
-}