aboutsummaryrefslogtreecommitdiff
path: root/test/C++Frontend/2003-05-22-VarSizeArray.c
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-09-26 14:58:39 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-09-26 14:58:39 +0000
commit91d66aa243c7075e05c06c9382b505c3293769e4 (patch)
treeced6efff9c2d0012708d96a2a69bd62798c3a2d7 /test/C++Frontend/2003-05-22-VarSizeArray.c
parent67181ca7f67cd2959ee5d1d583d8b7e179f44d96 (diff)
Removing these tests from the regressions directory.
They now live in llvm/test/Programs/SingleSource/Regression alongside their UnitTest brethren. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8722 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/C++Frontend/2003-05-22-VarSizeArray.c')
-rw-r--r--test/C++Frontend/2003-05-22-VarSizeArray.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/C++Frontend/2003-05-22-VarSizeArray.c b/test/C++Frontend/2003-05-22-VarSizeArray.c
deleted file mode 100644
index 7ab4d67a99..0000000000
--- a/test/C++Frontend/2003-05-22-VarSizeArray.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <stdio.h>
-
-int test(int Num) {
- int Arr[Num];
- Arr[2] = 0;
- return Arr[2];
-}
-
-int main() {
- printf("%d\n", test(4));
- return 0;
-}