mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Improved error messages for foo(void), foo(int!) declarations.
This commit is contained in:
3
test/test_suite/functions/failable_param.c3
Normal file
3
test/test_suite/functions/failable_param.c3
Normal file
@@ -0,0 +1,3 @@
|
||||
module test;
|
||||
|
||||
fn void test4(void!); // #error: Parameters may not be failable.
|
||||
Reference in New Issue
Block a user