aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/c.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2023-08-21 02:27:11 +0100
committerVeikka Tuominen <git@vexu.eu>2023-08-21 11:47:31 +0300
commit283afb50b56fb8a2c288d2452bdf6e595a1bbb06 (patch)
tree074cfa8a07a8763d455289a20fc0b08e1b0395be /src/codegen/c.zig
parent411462e1cdac518ccb67a8dd7aa5ef93332f8d19 (diff)
downloadzig-283afb50b56fb8a2c288d2452bdf6e595a1bbb06.tar.gz
zig-283afb50b56fb8a2c288d2452bdf6e595a1bbb06.zip
AstGen: disallow '-0' integer literal
The intent here is ambiguous: this resolves to the comptime_int '0', but it's likely the user meant to use a floating-point literal. Resolves: #16890
Diffstat (limited to 'src/codegen/c.zig')
0 files changed, 0 insertions, 0 deletions