aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/missing_function_name.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-09-12 19:37:03 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-09-13 02:04:20 -0700
commitf8a9bc57ce1a2a5a1b90e9a33501b64f2dd79019 (patch)
treeefe1f2ac3ba62ea641687bb82c927826ef72cee1 /test/cases/compile_errors/missing_function_name.zig
parent188902a710a64b08762d7731aab81cb695322184 (diff)
downloadzig-f8a9bc57ce1a2a5a1b90e9a33501b64f2dd79019.tar.gz
zig-f8a9bc57ce1a2a5a1b90e9a33501b64f2dd79019.zip
translate-c: lower discards differently
This makes translate-c lower discards as `_ = @TypeOf(foo);` to avoid tripping the "pointless discard" error. Ideally, translate-c would avoid emitting pointless discards, in which case this commit can be reverted, however, that is a separate enhancement.
Diffstat (limited to 'test/cases/compile_errors/missing_function_name.zig')
0 files changed, 0 insertions, 0 deletions