diff options
Diffstat (limited to 'testsuite/fail_compilation/assign_const_to_pointer.elna')
| -rw-r--r-- | testsuite/fail_compilation/assign_const_to_pointer.elna | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/fail_compilation/assign_const_to_pointer.elna b/testsuite/fail_compilation/assign_const_to_pointer.elna index 87047e5..7e26679 100644 --- a/testsuite/fail_compilation/assign_const_to_pointer.elna +++ b/testsuite/fail_compilation/assign_const_to_pointer.elna @@ -2,6 +2,7 @@ var c: const Int := 2 p: Pointer +program() begin p := @c (* @Error Expected type 'Pointer', but got '\^const Int' *) end. |
