aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-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.