From 7e36aa5ccb1575ca141b865dc7b8abe39a6c0581 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Tue, 31 Jan 2017 21:12:32 +0100 Subject: Handle non-returning void functions, and error on missing return --- nl/test_string.nl | 1 - 1 file changed, 1 deletion(-) (limited to 'nl') 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) { -- cgit v1.2.3-70-g09d2