From c8d3fc43e946c147ae4b9ee480518cd62f4ade50 Mon Sep 17 00:00:00 2001 From: Alexandre Bique Date: Sun, 3 May 2009 18:12:39 +0000 Subject: [PATCH] [tests] fixed some tests --- tests/lang/mugiwara/flow-control/do-while.mgw | 3 ++- tests/lang/mugiwara/flow-control/goto.mgw | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/lang/mugiwara/flow-control/do-while.mgw b/tests/lang/mugiwara/flow-control/do-while.mgw index 240c8fb..02906fd 100644 --- a/tests/lang/mugiwara/flow-control/do-while.mgw +++ b/tests/lang/mugiwara/flow-control/do-while.mgw @@ -1,4 +1,4 @@ -int main() +int32 main() { int64 a; @@ -6,4 +6,5 @@ int main() do a = a + 1; while (true); + return 0; } diff --git a/tests/lang/mugiwara/flow-control/goto.mgw b/tests/lang/mugiwara/flow-control/goto.mgw index 0e9e4e2..b620f52 100644 --- a/tests/lang/mugiwara/flow-control/goto.mgw +++ b/tests/lang/mugiwara/flow-control/goto.mgw @@ -1,8 +1,9 @@ -int main() +int32 main() { - int a; + int32 a; teton: a = a + 1; goto teton; + return 0; } -- 2.11.4.GIT