Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/abi/param1.C @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// { 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; }