From dbca249757a98d6d56e23db43baa93ad30a91709 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 30 Aug 2026 21:07:48 +0200 Subject: Use arrow -> for return types --- testsuite/runnable/procedure_cast.elna | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testsuite/runnable/procedure_cast.elna') diff --git a/testsuite/runnable/procedure_cast.elna b/testsuite/runnable/procedure_cast.elna index 27977e1..ee97a6b 100644 --- a/testsuite/runnable/procedure_cast.elna +++ b/testsuite/runnable/procedure_cast.elna @@ -1,9 +1,9 @@ -var cb: proc(x: ^Char): Int +var cb: proc(x: ^Char) -> Int -proc probe_int(x: ^Int): Int +proc probe_int(x: ^Int) -> Int return 42 begin - cb := cast(probe_int: proc(x: ^Char): Int); + cb := cast(probe_int: proc(x: ^Char) -> Int); assert(cb(nil) = 42) end. -- cgit v1.2.3