diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2023-08-21 02:27:11 +0100 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2023-08-21 11:47:31 +0300 |
| commit | 283afb50b56fb8a2c288d2452bdf6e595a1bbb06 (patch) | |
| tree | 074cfa8a07a8763d455289a20fc0b08e1b0395be /src/codegen/c.zig | |
| parent | 411462e1cdac518ccb67a8dd7aa5ef93332f8d19 (diff) | |
| download | zig-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
