aboutsummaryrefslogtreecommitdiff
path: root/testsuite/compilable/const_negation.elna
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/compilable/const_negation.elna')
-rw-r--r--testsuite/compilable/const_negation.elna4
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuite/compilable/const_negation.elna b/testsuite/compilable/const_negation.elna
index 82a4cb6..1dd45f4 100644
--- a/testsuite/compilable/const_negation.elna
+++ b/testsuite/compilable/const_negation.elna
@@ -1,11 +1,9 @@
+program()
var
x: const Int := -5
y: const Int := -x
-program()
begin
assert(x = -5);
assert(y = 5);
-return 0u8
-
end.