aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runnable
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-07-26 19:47:59 +0200
committerEugen Wissner <belka@caraus.de>2026-07-26 19:47:59 +0200
commit5cdaceb77af6a1d98145f8afb34ce6884e21a3d6 (patch)
tree1f75fa1aeee67a72017dbaa2fb006e93c943700d /testsuite/runnable
parentdea1c177cd3592cc24fd15ad446a676da2e4da28 (diff)
downloadelna-5cdaceb77af6a1d98145f8afb34ce6884e21a3d6.tar.gz
Type check traits properly
Diffstat (limited to 'testsuite/runnable')
-rw-r--r--testsuite/runnable/compile_time_address_not_equal.elna7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/runnable/compile_time_address_not_equal.elna b/testsuite/runnable/compile_time_address_not_equal.elna
new file mode 100644
index 0000000..b011227
--- /dev/null
+++ b/testsuite/runnable/compile_time_address_not_equal.elna
@@ -0,0 +1,7 @@
+var
+ x, y: const Int
+ z: const Bool := @x = @y
+
+begin
+ assert(~z)
+end.