aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runnable/procedure_cast.elna
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/runnable/procedure_cast.elna')
-rw-r--r--testsuite/runnable/procedure_cast.elna1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/runnable/procedure_cast.elna b/testsuite/runnable/procedure_cast.elna
index ee97a6b..11e0e72 100644
--- a/testsuite/runnable/procedure_cast.elna
+++ b/testsuite/runnable/procedure_cast.elna
@@ -3,6 +3,7 @@ var cb: proc(x: ^Char) -> Int
proc probe_int(x: ^Int) -> Int
return 42
+program()
begin
cb := cast(probe_int: proc(x: ^Char) -> Int);
assert(cb(nil) = 42)