llvm.org GIT mirror llvm / 2fdd3c0 test / CFrontend / 2003-07-22-ArrayAccessTypeSafety.c.tr
2fdd3c0

Tree @2fdd3c0 (Download .tar.gz)

2003-07-22-ArrayAccessTypeSafety.c.tr @2fdd3c0raw · history · blame

1
2
3
4
5
6
/* RUN: llvmgcc -xc %s -c -o - | dis | not grep cast
 */

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