diff options
Diffstat (limited to 'tests/callbacks/callbacks.ek')
| -rw-r--r-- | tests/callbacks/callbacks.ek | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/callbacks/callbacks.ek b/tests/callbacks/callbacks.ek index 927c122..9e16627 100644 --- a/tests/callbacks/callbacks.ek +++ b/tests/callbacks/callbacks.ek @@ -1,6 +1,7 @@ typedef i27 {} +typedef ptr {} -do_stuff(^(i27 => i27) proc => i27) +do_stuff(*(i27 => i27) proc => i27) { return proc(20); } @@ -12,5 +13,5 @@ other_proc(i27 a => i27) main() { - do_stuff(other_proc); + do_stuff(other_proc&); } |
