thunk2.C: Add return 0.

* 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
This commit is contained in:
Nathan Sidwell 2000-07-06 15:29:15 +00:00 committed by Nathan Sidwell
parent 84e5ca0f37
commit c2e276fe18
5 changed files with 15 additions and 6 deletions

View File

@ -1,3 +1,10 @@
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

View File

@ -14,6 +14,7 @@ public:
virtual int foo() {
if (++state != 2)
fail = 1;
return 0;
}
virtual ~A() {
if (++state != 3)

View File

@ -12,6 +12,7 @@ public:
virtual int foo() {
if (++state != 2)
fail = 1;
return 0;
}
virtual ~A() {
if (++state != 3)

View File

@ -12,7 +12,7 @@ extern "C" {
class X {
public:
int xi;
virtual int f() {};
virtual int f() {return 0;};
};
class Y : public X {
@ -32,13 +32,13 @@ Z *zp = &z;
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 {

View File

@ -13,7 +13,7 @@ extern "C" {
class X {
public:
int xi;
virtual int f() {};
virtual int f() {return 0;};
};
class Y : public X {
@ -33,13 +33,13 @@ Z *zp = &z;
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 {