diff options
| author | Veikka Tuominen <git@vexu.eu> | 2023-09-04 17:15:17 +0300 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2023-09-05 20:00:19 +0300 |
| commit | d1a14e7b6d90a0f285dead85c72a9ac73dd692bd (patch) | |
| tree | 28f1d1dbcfddb9f2f8a3cc1e89b03353323eef99 /test/cases/compile_errors/missing_function_proto_name.zig | |
| parent | 64d03faae7f0f444149a179a1534c3488f59dca7 (diff) | |
| download | zig-d1a14e7b6d90a0f285dead85c72a9ac73dd692bd.tar.gz zig-d1a14e7b6d90a0f285dead85c72a9ac73dd692bd.zip | |
AstGen: fix error on missing function prototype name
Closes #17070
Diffstat (limited to 'test/cases/compile_errors/missing_function_proto_name.zig')
| -rw-r--r-- | test/cases/compile_errors/missing_function_proto_name.zig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/cases/compile_errors/missing_function_proto_name.zig b/test/cases/compile_errors/missing_function_proto_name.zig new file mode 100644 index 0000000000..247fc193b2 --- /dev/null +++ b/test/cases/compile_errors/missing_function_proto_name.zig @@ -0,0 +1,7 @@ +fn () void; + +// error +// backend=stage2 +// target=native +// +// :1:1: error: missing function name |
