summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/2003-07-22-ArrayAccessTypeSafety.c
blob: d0703ef5e914e33528db5061e84754747445edcd (plain)
1
2
3
4
5
6
7
/* RUN: %clang_cc1  %s -emit-llvm -o - | grep -v alloca | not grep bitcast
 */

void test(int* array, long long N) {
    array[N] = N[array] = 33;
}