mirror of
https://github.com/ziglang/zig.git
synced 2025-12-11 08:43:09 +00:00
this is a follow up to #19610 with fix suggested by Vexu in https://github.com/ziglang/zig/issues/14642#issuecomment-2048999384
9 lines
178 B
C
9 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)) {}
|
|
// }
|