Commit f641e05b by Alan Modra Committed by Alan Modra

New test.

From-SVN: r63339
parent 8403445a
2003-02-24 Alan Modra <amodra@bigpond.net.au>
* g++.dg/abi/param1.C: New test.
2003-02-23 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> 2003-02-23 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/7982 PR c++/7982
......
// { dg-do run }
//
// Failed on powerpc64-linux for structure sizes > 64 and with size not a
// multiple of 8 after padding.
struct object
{
int i1;
char s1[60];
int i2;
char s2[64];
};
extern int subr (struct object obj);
int main ()
{
struct object obj;
obj.i1 = 1234;
obj.i2 = 5678;
return subr (obj);
}
int subr (struct object obj)
{
return obj.i1 != 1234 || obj.i2 != 5678;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment