llvm-6502/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr
Chris Lattner 35611c3a6b Add new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7229 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-22 16:18:09 +00:00

8 lines
117 B
Plaintext

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