1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2024-12-26 21:32:10 +00:00
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;
}