extern var X: *volatile i32;

inline fn fiveXwithType(comptime T: type) void {
    _ = T;
    X.* = 5;
}

inline fn fiveXwithArg(v: i32) void {
    _ = v;
    X.* = 5;
}

export fn entry1() void {
    @call(.never_inline, fiveXwithType, .{i32});
}
export fn entry2() void {
    @call(.never_inline, fiveXwithArg, .{1});
}

// error
//
// :14:5: error: cannot perform inline call with 'never_inline' modifier
// :17:5: error: cannot perform inline call with 'never_inline' modifier
