Add missing index versions of instructions to the map.
[oota-llvm.git] / test / CFrontend / 2007-02-04-WITH_SIZE_EXPR.c
1 // RUN: %llvmgcc %s -O3 -S -o - -emit-llvm
2 // PR1174
3
4 void zzz (char *s1, char *s2, int len, int *q)
5 {
6   int z = 5;
7   unsigned int i,  b;
8   struct { char a[z]; } x;
9           
10   for (i = 0; i < len; i++)
11     s1[i] = s2[i];
12
13   b = z & 0x3;
14
15   len += (b == 0 ? 0 : 1) + z;
16     
17   *q = len;
18
19   foo (x, x);
20 }
21