This commit was manufactured by cvs2svn to create branch
[official-gcc.git] / gcc / testsuite / gcc.dg / struct-by-value-2.c
blob8d5d0bb01c729867bad8927e3824dbea921bb3c6
1 /* This testcase caused a sanity check to abort on SPARC64
2 because of a discrepancy between two functions involved
3 in the calculation of structure layout. */
5 /* { dg-do compile } */
7 struct S { float f1; int i1; int i2; float f2; };
9 extern void foo(struct S);
11 void bar(void)
13 struct S s;
14 foo(s);