llvm/test/C++Frontend/2003-05-22-VarSizeArray.c
Chris Lattner 9c9b4977a4 Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6299 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-22 20:43:21 +00:00

13 lines
144 B
C

#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;
}