| 1 | threadlocal var global: u32 = 23; |
| 2 | threadlocal var global_ptr: *u32 = &global; |
| 3 | |
| 4 | pub export fn entry() void { |
| 5 | if (global_ptr.* != 23) unreachable; |
| 6 | } |
| 7 | |
| 8 | // error |
| 9 | // |
| 10 | // :2:36: error: unable to resolve comptime value |
| 11 | // :2:36: note: initializer of container-level variable must be comptime-known |