diff --git a/tests/types/array b/tests/types/array index cfd9bb8..a56afcb 100644 --- a/tests/types/array +++ b/tests/types/array @@ -1,4 +1,6 @@ -int a[2]; -a[0] = 1; -a[1] = 2; -print a[0]; +int main() { + int a[2]; + a[0] = 1; + a[1] = 2; + print a[0]; +}