aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/g++.old-deja/g++.robertl/float1.C30
-rw-r--r--gcc/testsuite/g++.old-deja/g++.robertl/rtti5.C37
2 files changed, 0 insertions, 67 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/float1.C b/gcc/testsuite/g++.old-deja/g++.robertl/float1.C
deleted file mode 100644
index 4bd49bf..0000000
--- a/gcc/testsuite/g++.old-deja/g++.robertl/float1.C
+++ /dev/null
@@ -1,30 +0,0 @@
-// test fails on egcs 1.0.1 on x86.
-#include <cstdlib>
-
-void f(double j, double& v)
-{
- size_t sz = size_t(2*j+1);
- double norm_ = j*(j+1);
- double m = j;
- int sign_ = -1;
- for (size_t c=1;c<=sz;++c)
- for (size_t r=1;r<=sz;++r)
- if (r+sign_*1 == c)
- {
- double val = (norm_-m*(m+sign_));
- for (size_t k=1;k<2;++k)
- val *= (norm_ - (m+sign_*k)*(m+sign_*(k+1)));
- v = val;
- }
-}
-
-int main()
-{
- double v;
- f(1,v);
- if (v != 4) abort();
-
- return 0;
-}
-
-
diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/rtti5.C b/gcc/testsuite/g++.old-deja/g++.robertl/rtti5.C
deleted file mode 100644
index 155dc0b..0000000
--- a/gcc/testsuite/g++.old-deja/g++.robertl/rtti5.C
+++ /dev/null
@@ -1,37 +0,0 @@
-class S0
-{
-public:
-
- S0() { };
-
- virtual ~S0() { }
-};
-
-
-
-struct S { };
-class S1 : public S, public S0
-{
-public:
-
- S1() { }
-};
-
-
-void test_ptr(void *ctxt)
-{
- S0 *ctxt1 = static_cast<S0*>(ctxt);
-
- S1* ctxt2 = dynamic_cast<S1*>(ctxt1);
-}
-
-
-
-int main()
-{
- S1 *ctxt = new S1();
-
- test_ptr(ctxt);
-
- return 0;
-}