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

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