From 1d8ac83916572ef94cc4274073fa88fb4368654d Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 5 Jul 2026 00:14:38 +0200 Subject: Support runnable tests --- testsuite/runnable/aggregate_equality.elna | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 testsuite/runnable/aggregate_equality.elna (limited to 'testsuite') diff --git a/testsuite/runnable/aggregate_equality.elna b/testsuite/runnable/aggregate_equality.elna new file mode 100644 index 0000000..119efbd --- /dev/null +++ b/testsuite/runnable/aggregate_equality.elna @@ -0,0 +1,21 @@ +type + R = record + a: Int; + b: Int + end + +proc f() -> Int +var + result: Int +begin + if R(1, 2) = R(1, 2) then + result := 0 + else + result := 1 + end; + return result +end + +return f() + +end. -- cgit v1.2.3