diff options
| author | Eugen Wissner <belka@caraus.de> | 2024-10-11 16:14:01 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2024-10-11 16:14:01 +0200 |
| commit | 0850f0a8d66af028e32a79063cdad328b70db909 (patch) | |
| tree | 8c1fa49d5476e706e94a7af62ce37b12ef65e32d /tests | |
| parent | 87f183baad01f2b572f5f9051895b5876a56dd4c (diff) | |
| download | elna-0850f0a8d66af028e32a79063cdad328b70db909.tar.gz | |
Implement if statements with equality
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/expectations/printi_if.txt | 1 | ||||
| -rw-r--r-- | tests/vm/printi_if.elna | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/expectations/printi_if.txt b/tests/expectations/printi_if.txt new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/tests/expectations/printi_if.txt @@ -0,0 +1 @@ +3 diff --git a/tests/vm/printi_if.elna b/tests/vm/printi_if.elna new file mode 100644 index 0000000..a3d859b --- /dev/null +++ b/tests/vm/printi_if.elna @@ -0,0 +1,4 @@ +proc main() { + if (1 = 1) + printi(3); +} |
