@@ -0,0 +1,12 @@
|
||||
export fn builtinCallBoolFunctionInlineWithVoid() void {
|
||||
@call(.always_inline, boolFunction, .{{}});
|
||||
}
|
||||
|
||||
fn boolFunction(_: bool) void {}
|
||||
|
||||
// error
|
||||
// backend=stage2
|
||||
// target=native
|
||||
//
|
||||
// :2:43: error: expected type 'bool', found 'void'
|
||||
// :5:20: note: parameter type declared here
|
||||
Reference in New Issue
Block a user