zig/test/cases/translate_c/strlit_as_bool.c
2024-04-12 10:10:42 +00:00

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)) {}
// }