aboutsummaryrefslogtreecommitdiff
path: root/testsuite/compilable
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-07-13 02:49:24 +0200
committerEugen Wissner <belka@caraus.de>2026-07-13 02:49:24 +0200
commit97741a01323021ccec8b0b60c6f8318c88ac373a (patch)
tree51cd1722073498a749f158b9a6dc998fb4846055 /testsuite/compilable
parentb2f8be605d2b79d1d4b1995646e7058bec299a22 (diff)
downloadelna-97741a01323021ccec8b0b60c6f8318c88ac373a.tar.gz
Fix ICE substracting pointers
Diffstat (limited to 'testsuite/compilable')
-rw-r--r--testsuite/compilable/pointer_subtraction.elna4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/compilable/pointer_subtraction.elna b/testsuite/compilable/pointer_subtraction.elna
new file mode 100644
index 0000000..400d4f1
--- /dev/null
+++ b/testsuite/compilable/pointer_subtraction.elna
@@ -0,0 +1,4 @@
+proc test(a, b: ^Char): Int
+ return a - b
+end
+end.