From cdd14874ad136564cd742c0e90d7053ecc9ed197 Mon Sep 17 00:00:00 2001 From: inglorion Date: Mon, 12 Jul 2010 22:03:46 +0200 Subject: [PATCH] Added test cases for at-expressions. --- test/at.out | 2 ++ test/at.voo | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 test/at.out create mode 100644 test/at.voo diff --git a/test/at.out b/test/at.out new file mode 100644 index 0000000..9574679 --- /dev/null +++ b/test/at.out @@ -0,0 +1,2 @@ +12 +42 diff --git a/test/at.voo b/test/at.voo new file mode 100644 index 0000000..5f36686 --- /dev/null +++ b/test/at.voo @@ -0,0 +1,26 @@ +#### Test case for at-expressions + +section data +p: +word 12 + +q: +word r + +r: +word 42 + +format: +string "%d\n\x00" + +section functions +import printf +export main + +main: +function argc argv + let x @q + call printf format @p + call printf format @x + return 0 +end function -- 2.11.4.GIT