master
 1fn foo() [:0xff]const u8 {
 2    return "bark";
 3}
 4fn bar() [:0]const u16 {
 5    return "bark";
 6}
 7pub export fn entry() void {
 8    _ = foo();
 9}
10pub export fn entry1() void {
11    _ = bar();
12}
13
14// error
15//
16// :2:12: error: expected type '[:255]const u8', found '*const [4:0]u8'
17// :2:12: note: pointer sentinel '0' cannot cast into pointer sentinel '255'
18// :1:10: note: function return type declared here
19// :5:12: error: expected type '[:0]const u16', found '*const [4:0]u8'
20// :5:12: note: pointer type child 'u8' cannot cast into pointer type child 'u16'
21// :4:10: note: function return type declared here