-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
when I tranlate this file by ·zig cc assert.c && ./a.out
//assert.c
#include <assert.h>
int main(){
assert(0);
}
error happend :
assert.v:5:81: error: use `?` instead of `?void`
3 |
4 | fn main() {
5 | (if __builtin_expect(!(0), 0){ __assert_rtn(@FN, c'assert.c', 4, c'0') } else {void(0)})
| ~~~~
6 | }
What should I do to inplace fix assert.v to run it without error?
Metadata
Metadata
Assignees
Labels
No labels