mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
this is a follow up to #19610 with fix suggested by Vexu in https://github.com/ziglang/zig/issues/14642#issuecomment-2048999384
8 lines
178 B
C
8 lines
178 B
C
void foo() { if(0 && "error message") {} }
|
|
|
|
// translate-c
|
|
// c_frontend=clang
|
|
//
|
|
// pub export fn foo() void {
|
|
// if (false and (@intFromPtr("error message") != 0)) {}
|
|
// }
|