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