diff options
Diffstat (limited to 'static-dispatch.mu')
-rw-r--r-- | static-dispatch.mu | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/static-dispatch.mu b/static-dispatch.mu index 7aec6fa1..ccb3de6a 100644 --- a/static-dispatch.mu +++ b/static-dispatch.mu @@ -1,3 +1,11 @@ +# Example program showing how multiple functions with the same name can +# coexist, and how we select between them. +# +# Expected output: +# 4 +# 7 +# 7 + def test a:num -> b:num [ local-scope load-ingredients |