package main
type T struct {
msg string
}
var g *T
func setup() {
t := new(T)
t.msg = "hello, world"
g = t
}
func main() {
go setup()
for g == nil {
print("1")
}
print(g.msg)
}
cGFja2FnZSBtYWluCgp0eXBlIFQgc3RydWN0IHsKCW1zZyBzdHJpbmcKfQoKdmFyIGcgKlQKCmZ1bmMgc2V0dXAoKSB7Cgl0IDo9IG5ldyhUKQoJdC5tc2cgPSAiaGVsbG8sIHdvcmxkIgoJZyA9IHQKfQoKZnVuYyBtYWluKCkgewoJZ28gc2V0dXAoKQoJZm9yIGcgPT0gbmlsIHsKCQlwcmludCgiMSIpCgl9CglwcmludChnLm1zZykKfQo=