master
1threadlocal const x: i32 = 1234;
2export fn entry() i32 {
3    return x;
4}
5
6// error
7//
8// :1:1: error: threadlocal variable cannot be constant