Pull out this predicate loop into a helper function.
[oota-llvm.git] / test / FrontendC / 2003-07-22-ArrayAccessTypeSafety.c
1 /* RUN: %llvmgcc -xc %s -S -o - | grep -v alloca | not grep bitcast
2  */
3
4 void test(int* array, long long N) {
5     array[N] = N[array] = 33;
6 }
7