From cdbc1695a93910df5729779de31912a3b4b4172b Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 19 Jul 2026 17:09:40 +0200 Subject: Support unary plus operation --- testsuite/runnable/unary_plus.elna | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 testsuite/runnable/unary_plus.elna (limited to 'testsuite/runnable/unary_plus.elna') diff --git a/testsuite/runnable/unary_plus.elna b/testsuite/runnable/unary_plus.elna new file mode 100644 index 0000000..2bc69f3 --- /dev/null +++ b/testsuite/runnable/unary_plus.elna @@ -0,0 +1,8 @@ +proc f(x: Int): Int +return +x + +begin + assert(+3 = 3); + assert(f(5) = 5); + assert(f(-7) = -7) +end. -- cgit v1.2.3