| 1 | const expectEqual = @import("std").testing.expectEqual; |
| 2 | |
| 3 | test "noinline function call" { |
| 4 | try expectEqual(12, @call(.auto, add, .{ 3, 9 })); |
| 5 | } |
| 6 | |
| 7 | fn add(a: i32, b: i32) i32 { |
| 8 | return a + b; |
| 9 | } |
| 10 | |
| 11 | // test |