sameunderlying.go 163 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 // RUN: llgo -o %t %s // RUN: %t 2>&1 | count 0 package main type X struct{} type Y X func main() { var x X px := &x py := (*Y)(&x) py = (*Y)(px) _ = py }