According to Go spec a non-constant value x can be converted to type T if x is assignable to T (first rule out of 7).
Given the following 2 codes: