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