Sign in
llvm
/
llvm-project
/
llgo
/
97d4c42914154dcfe4d5ff76d0592d836e77f73a
/
.
/
test
/
execution
/
conversions
/
sameunderlying.go
blob: 8208cfba116aaf2828570a7d6cbdb3947aa3d97c [
file
] [
log
] [
blame
]
// 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
}