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