When removing a function from the function set and adding it to deferred, we
[llvm.git] / test / FrontendC / 2007-02-04-WITH_SIZE_EXPR.c
blobd5a9fbb0ecc25b1f7b760e4f5b5394b9b64916cc
1 // RUN: %llvmgcc %s -O3 -S -o -
2 // PR1174
4 void zzz (char *s1, char *s2, int len, int *q)
6 int z = 5;
7 unsigned int i, b;
8 struct { char a[z]; } x;
10 for (i = 0; i < len; i++)
11 s1[i] = s2[i];
13 b = z & 0x3;
15 len += (b == 0 ? 0 : 1) + z;
17 *q = len;
19 foo (x, x);