* g++.old-deja/g++.mike/thunk2.C: Add return 0.
* g++.old-deja/g++.mike/thunk3.C: Likewise.
* g++.old-deja/g++.other/rtti3.C: Likewise.
* g++.old-deja/g++.other/rttid3.C: Likewise.
From-SVN: r34887
+2000-07-06 Nathan Sidwell <nathan@codesourcery.com>
+
+ * g++.old-deja/g++.mike/thunk2.C: Add return 0.
+ * g++.old-deja/g++.mike/thunk3.C: Likewise.
+ * g++.old-deja/g++.other/rtti3.C: Likewise.
+ * g++.old-deja/g++.other/rttid3.C: Likewise.
+
2000-06-30 David Billinghurst <David Billinghurst@riotinto.com.au>
* g77.f-torture/compile/20000630-1.x: Fix typo
virtual int foo() {
if (++state != 2)
fail = 1;
+ return 0;
}
virtual ~A() {
if (++state != 3)
virtual int foo() {
if (++state != 2)
fail = 1;
+ return 0;
}
virtual ~A() {
if (++state != 3)
class X {
public:
int xi;
- virtual int f() {};
+ virtual int f() {return 0;};
};
class Y : public X {
class A {
public:
int Ai;
- virtual int a() {};
+ virtual int a() {return 0;};
};
class B {
public:
int Bi;
- virtual int g() {};
+ virtual int g() {return 0;};
};
class D : public A, public B {
class X {
public:
int xi;
- virtual int f() {};
+ virtual int f() {return 0;};
};
class Y : public X {
class A {
public:
int Ai;
- virtual int a() {};
+ virtual int a() {return 0;};
};
class B {
public:
int Bi;
- virtual int g() {};
+ virtual int g() {return 0;};
};
class D : public A, public B {