xref: /llvm-project/clang/test/CodeGen/2003-07-22-ArrayAccessTypeSafety.c (revision 85e5156598b1bbad0ae41cf4d0d5b845dd655ffd)
1 /* RUN: %clang_cc1  %s -emit-llvm -o - | grep -v alloca | not grep bitcast
2  */
3 
test(int * array,long long N)4 void test(int* array, long long N) {
5     array[N] = N[array] = 33;
6 }
7 
8