blob: 8d5d0bb01c729867bad8927e3824dbea921bb3c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* This testcase caused a sanity check to abort on SPARC64
because of a discrepancy between two functions involved
in the calculation of structure layout. */
/* { dg-do compile } */
struct S { float f1; int i1; int i2; float f2; };
extern void foo(struct S);
void bar(void)
{
struct S s;
foo(s);
}
|