AstGen: fix error on missing function prototype name

Closes #17070
This commit is contained in:
Veikka Tuominen
2023-09-04 17:15:17 +03:00
parent 64d03faae7
commit d1a14e7b6d
2 changed files with 13 additions and 5 deletions

View File

@@ -0,0 +1,7 @@
fn () void;
// error
// backend=stage2
// target=native
//
// :1:1: error: missing function name