master
 1export fn foo() void {
 2    if (0) {}
 3}
 4
 5export fn bar() void {
 6    comptime if (0) {};
 7}
 8
 9// error
10//
11// :2:9: error: expected type 'bool', found 'comptime_int'
12// :6:18: error: expected type 'bool', found 'comptime_int'