diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-07-05 00:14:38 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-07-05 00:14:38 +0200 |
| commit | 1d8ac83916572ef94cc4274073fa88fb4368654d (patch) | |
| tree | 4df4186813b80303bd19677ad4b76e99d16f3c82 /testsuite/runnable/aggregate_equality.elna | |
| parent | 265e6d6a27eebbcafbd73f0da76e516a139f21d1 (diff) | |
| download | elna-1d8ac83916572ef94cc4274073fa88fb4368654d.tar.gz | |
Diffstat (limited to 'testsuite/runnable/aggregate_equality.elna')
| -rw-r--r-- | testsuite/runnable/aggregate_equality.elna | 21 |
1 files changed, 21 insertions, 0 deletions
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. |
