diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-01-31 21:12:32 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-01-31 21:13:47 +0100 |
commit | 7e36aa5ccb1575ca141b865dc7b8abe39a6c0581 (patch) | |
tree | 85194a1ac6fb1e5541ba728e752c6de279351f38 /nl | |
parent | 3eb9d5d4fe233d08f09198744e6e7328605c8275 (diff) |
Handle non-returning void functions, and error on missing return
Diffstat (limited to 'nl')
-rw-r--r-- | nl/test_string.nl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nl/test_string.nl b/nl/test_string.nl index ccba9a1..d120b48 100644 --- a/nl/test_string.nl +++ b/nl/test_string.nl @@ -6,7 +6,6 @@ extern func void(int) putchar; void f(char c) { putchar(c); - return; } int main(int argc, ptr(string) argv) { |