llvm-6502/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr
Chris Lattner 9042eaf803 Make testcase more interesting
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7976 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-19 21:57:23 +00:00

8 lines
128 B
Plaintext

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