llvm-6502/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr
Reid Spencer 4575ab2186 For PR1336:
XFAIL tests covered by the PR. These will be un-XFAILed as they are fixed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36093 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 23:00:46 +00:00

9 lines
146 B
Plaintext

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