summaryrefslogtreecommitdiff
path: root/test/FrontendC/2003-07-22-ArrayAccessTypeSafety.c
blob: 51e66c9b83952404694e9b94b3bfad527588cb7d (plain)
1
2
3
4
5
6
7
/* RUN: %llvmgcc -xc %s -S -o - | grep -v alloca | not grep bitcast
 */

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