From 7212ea877ed85d3b85af90c902639df44fc493f2 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 24 Aug 2019 00:48:40 +0200 Subject: Add exported variable (only functions for now), export main func, start execution from main func --- tests/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/main.c') diff --git a/tests/main.c b/tests/main.c index 3573f9c..b2b53cc 100644 --- a/tests/main.c +++ b/tests/main.c @@ -279,6 +279,7 @@ static void run_all_tests() { test_load_error("tests/errors/closure_duplicate_param_name.amal", "TODO: Add expected error here"); test_load_error("tests/errors/extern_closure_one_return_value.amal", "TODO: Add expected error here"); test_load_error("tests/errors/too_long_var_name.amal", "TODO: Add expected error here"); + test_load_error("tests/errors/incorrect_main.amal", "TODO: Add expected error here"); } /* TODO: Restrict variables in global scope to const */ -- cgit v1.2.3