master
1const print = @import("std").debug.print;
2
3const a_number: i32 = 1234;
4const a_string = "foobar";
5
6test "print too many arguments" {
7 print("here is a string: '{s}' here is a number: {}\n", .{
8 a_string,
9 a_number,
10 a_number,
11 });
12}
13
14// test_error=unused argument in 'here is a string: '{s}' here is a number: {}