From cf862cd4d4bb641fbd134b49c2b4c03073ce9de3 Mon Sep 17 00:00:00 2001 From: Alexandre Bique Date: Wed, 11 Mar 2009 00:40:32 +0000 Subject: [PATCH] added some function tests --- tests/lang/mugiwara/input/functions/funcall-int32.mgw | 10 ++++++++++ tests/lang/mugiwara/input/functions/funcall-void.mgw | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 tests/lang/mugiwara/input/functions/funcall-int32.mgw create mode 100644 tests/lang/mugiwara/input/functions/funcall-void.mgw diff --git a/tests/lang/mugiwara/input/functions/funcall-int32.mgw b/tests/lang/mugiwara/input/functions/funcall-int32.mgw new file mode 100644 index 0000000..f4405db --- /dev/null +++ b/tests/lang/mugiwara/input/functions/funcall-int32.mgw @@ -0,0 +1,10 @@ +void bande(int32 teton) +{ + return; +} + +int32 main() +{ + bande(43); + return 0; +} diff --git a/tests/lang/mugiwara/input/functions/funcall-void.mgw b/tests/lang/mugiwara/input/functions/funcall-void.mgw new file mode 100644 index 0000000..9efd623 --- /dev/null +++ b/tests/lang/mugiwara/input/functions/funcall-void.mgw @@ -0,0 +1,10 @@ +void bande() +{ + return; +} + +int32 main() +{ + bande(); + return 0; +} -- 2.11.4.GIT