1pub fn main() void {
2 const x = foo("hello");
3 _ = x;
4}
5
6fn foo(x: []const u8) u8 {
7 return x[5];
8}
9
10// exe=fail