1 2 3 4 5 6 7 8 9
fn foo(s: []const u8) void { _ = s; } test "string literal to constant slice" { foo("hello"); } // test