Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
81fe1fbf4abd00b24e078a80cb15a2d2c1343f11
/
.
/
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
}