aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr
blob: 094067293b33ec9e542a49e1ba1b7641eb73960e (plain)
1
2
3
4
5
6
7
/* RUN: %llvmgcc -xc %s -c -o - | llvm-dis | not grep cast
 */

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