Sign in
llvm
/
llvm-project
/
llgo
/
c225302ec7e643b62c4e8a3c18a17a73ee60754f
/
.
/
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
}