summaryrefslogtreecommitdiffstats
path: root/test/CFrontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-07 18:38:59 +0000
committerChris Lattner <sabre@nondot.org>2004-05-07 18:38:59 +0000
commitda4230e41d7735b889f737e9ecc559cbb489884d (patch)
tree45ee50ea298812f2d2a71ab03a7f1330ec648438 /test/CFrontend
parent13b29f6844b93c3c8d650dfaca0527517b78a675 (diff)
downloadexternal_llvm-da4230e41d7735b889f737e9ecc559cbb489884d.zip
external_llvm-da4230e41d7735b889f737e9ecc559cbb489884d.tar.gz
external_llvm-da4230e41d7735b889f737e9ecc559cbb489884d.tar.bz2
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13402 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r--test/CFrontend/2004-05-07-VarArrays.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CFrontend/2004-05-07-VarArrays.c b/test/CFrontend/2004-05-07-VarArrays.c
new file mode 100644
index 0000000..f56427b
--- /dev/null
+++ b/test/CFrontend/2004-05-07-VarArrays.c
@@ -0,0 +1,3 @@
+int foo(int len, char arr[][len], int X) {
+ return arr[X][0];
+}