projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new testcase
[oota-llvm.git]
/
test
/
CFrontend
/
2003-07-22-ArrayAccessTypeSafety.c.tr
diff --git
a/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr
b/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr
index 7024ff7727edb30ff7ed7ff0c5400afb5e63dcf9..705b2590a6bca1729d30d9b89d0a61fbfad4e39c 100644
(file)
--- a/
test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr
+++ b/
test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr
@@
-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;
}