From f7b035a505e86ad916a43ab1dc1a662a6066b011 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Thu, 24 Sep 2026 00:39:51 +0200 Subject: Move module heading to the top --- testsuite/fail_compilation/assign_const_to_pointer.elna | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'testsuite/fail_compilation/assign_const_to_pointer.elna') diff --git a/testsuite/fail_compilation/assign_const_to_pointer.elna b/testsuite/fail_compilation/assign_const_to_pointer.elna index 50e4a44..796b60c 100644 --- a/testsuite/fail_compilation/assign_const_to_pointer.elna +++ b/testsuite/fail_compilation/assign_const_to_pointer.elna @@ -1,10 +1,8 @@ +program() var c: const Int := 2 p: Pointer -program() begin p := @c (* @Error Expected type 'Pointer', but got '\^const Int' *) -return 0u8 - end. -- cgit v1.2.3