From 6914052f4b8757a73d46822f7284e3ad3e34fa4d Mon Sep 17 00:00:00 2001 From: Yujia Qiao Date: Wed, 3 Nov 2021 22:36:21 +0800 Subject: [PATCH] fix tests --- tests/types/array | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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]; +}