This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: proposed testsuite entry. Re: new #pragma pack failure
On Sun, Sep 10, 2000 at 11:06:22PM -0500, Robert Lipe wrote:
> main()
> {
> if(sizeof(sixteen) < sizeof(defaultalign)) abort();
> if(sizeof(two) >= sizeof(defaultalign)) abort();
> if(sizeof(three) <= sizeof(two)) abort();
> if(sizeof(resetalign) != sizeof(defaultalign)) abort();
> }
Need return 0 or exit(0) at the end, otherwise you'll get
spurrious testsuite failures.
r~