Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/execute/20040411-1.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
int sub1 (int i, int j) { typedef int c[i+2]; int x[10], y[10]; if (j == 2) { memcpy (x, y, 10 * sizeof (int)); return sizeof (c); } else return sizeof (c) * 3; } int main () { if (sub1 (20, 3) != 66 * sizeof (int)) abort (); return 0; }