llvm-6502/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr
Chris Lattner bd19d27bba update test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36115 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 06:04:03 +00:00

8 lines
143 B
Plaintext

/* RUN: %llvmgcc -xc %s -S -o - | grep -v alloca | not grep bitcast
*/
void test(int* array, long long N) {
array[N] = N[array] = 33;
}