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/varargs_argument.elna | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'testsuite/fail_compilation/varargs_argument.elna') diff --git a/testsuite/fail_compilation/varargs_argument.elna b/testsuite/fail_compilation/varargs_argument.elna index 1325c29..b3b3459 100644 --- a/testsuite/fail_compilation/varargs_argument.elna +++ b/testsuite/fail_compilation/varargs_argument.elna @@ -1,12 +1,10 @@ +program() var written: Int32 proc printf(format: ^const Word8) #{varargs} -> Int32 extern -program() begin written := printf("%s".ptr, "text") (* @Error Type '\[\]const Word8' cannot be passed as a variadic argument *) -return 0u8 - end. -- cgit v1.2.3