Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/struct-by-value-2.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* 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); }