master
 1var rt_slice: []const u8 = &.{ 1, 2, 3 };
 2
 3export fn foo() void {
 4    inline for (rt_slice) |_| {}
 5}
 6
 7export fn bar() void {
 8    inline while (rt_slice.len == 0) {}
 9}
10
11// error
12//
13// :4:17: error: unable to resolve comptime value
14// :4:17: note: inline loop condition must be comptime-known
15// :8:32: error: unable to resolve comptime value
16// :8:32: note: inline loop condition must be comptime-known