diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-07-23 01:01:03 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-07-23 01:01:03 +0200 |
| commit | 275fa4bff6d153019b6914fed7127a7d919ca177 (patch) | |
| tree | 37f8ef0d49c304fe0fde47ce7d4b3ea32ffce707 /testsuite/runnable/slice_equality.elna | |
| parent | bd9fe800349dc139cc5841980bcae96e0d18e2db (diff) | |
| download | elna-275fa4bff6d153019b6914fed7127a7d919ca177.tar.gz | |
Implement for loop
Diffstat (limited to 'testsuite/runnable/slice_equality.elna')
| -rw-r--r-- | testsuite/runnable/slice_equality.elna | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/runnable/slice_equality.elna b/testsuite/runnable/slice_equality.elna new file mode 100644 index 0000000..1969088 --- /dev/null +++ b/testsuite/runnable/slice_equality.elna @@ -0,0 +1,10 @@ +var + lhs_payload, rhs_payload: [3]Int := [3]Int{ 2, 4, 6 } + lhs, rhs: []Int + +begin + lhs := lhs_payload.ptr[1 to 3]; + rhs := rhs_payload.ptr[1 to 3]; + + assert(lhs = rhs) +end. |
