Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/dilayout.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
struct ii { int a; int b; }; struct foo { int a; struct ii ab; int b; }; struct ii foo (int *p, struct foo a) { p[0] = a.a; p[1] = a.ab.a; p[2] = a.ab.b; p[3] = a.b; return a.ab; } str (struct ii ab, struct ii *p) { *p = ab; } ll (long long ab, long long *p) { *p = ab; }