diff options
Diffstat (limited to 'testsuite/compilable')
| -rw-r--r-- | testsuite/compilable/const_negation.elna | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/compilable/const_negation.elna b/testsuite/compilable/const_negation.elna new file mode 100644 index 0000000..a62cc1e --- /dev/null +++ b/testsuite/compilable/const_negation.elna @@ -0,0 +1,8 @@ +var + x: const Int := -5 + y: const Int := -x + +begin + assert(x = -5); + assert(y = 5); +end. |
