rtti5.C float1.C were duplicated as 980310-2.C, 980310-C.

rtti5.C float1.C were duplicated as 980310-2.C, 980310-C.   Deleted
the former.

From-SVN: r20224
This commit is contained in:
Robert Lipe 1998-06-04 08:29:07 +00:00
parent 73d243c0c5
commit e69bc5b0b3
2 changed files with 0 additions and 67 deletions

View File

@ -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;
}

View File

@ -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;
}