summaryrefslogtreecommitdiff
path: root/test/CFrontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-19 21:57:23 +0000
committerChris Lattner <sabre@nondot.org>2003-08-19 21:57:23 +0000
commit9042eaf803eee86628b3a7040d672d2266363880 (patch)
tree801cc9535c235995786b1cb623c7140619799cda /test/CFrontend
parent3c7eb1f2ea231c046367023576311fbc4b1270e3 (diff)
downloadllvm-9042eaf803eee86628b3a7040d672d2266363880.tar.gz
llvm-9042eaf803eee86628b3a7040d672d2266363880.tar.bz2
llvm-9042eaf803eee86628b3a7040d672d2266363880.tar.xz
Make testcase more interesting
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7976 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r--test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr b/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr
index 7024ff7727..4473bfe6e1 100644
--- a/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr
+++ b/test/CFrontend/2003-07-22-ArrayAccessTypeSafety.c.tr
@@ -2,6 +2,6 @@
*/
void test(int* array, long long N) {
- array[N] = 33;
+ array[N] = N[array] = 33;
}