new testcase
[oota-llvm.git] / test / CFrontend / 2003-07-22-ArrayAccessTypeSafety.c.tr
index 7024ff7727edb30ff7ed7ff0c5400afb5e63dcf9..705b2590a6bca1729d30d9b89d0a61fbfad4e39c 100644 (file)
@@ -1,7 +1,7 @@
-/* RUN: llvmgcc -xc %s -c -o - | dis | not grep cast
+/* RUN: %llvmgcc -xc %s -c -o - | dis | not grep cast
  */
 
 void test(int* array, long long N) {
-    array[N] = 33;
+    array[N] = N[array] = 33;
 }