Sign in
fuchsia
/
third_party
/
swig
/
ae709933805236a8bbf2cba82ed984d92c82ee9c
/
.
/
Examples
/
test-suite
/
go
/
smart_pointer_multi_runme.go
blob: 7c76061afed81c196b5b077ef7ccdfcac39b5b42 [
file
] [
log
] [
blame
]
package main
import . "smart_pointer_multi"
func main() {
f := NewFoo()
b := NewBar(f)
s := NewSpam(b)
g := NewGrok(b)
s.SetX(3)
if s.Getx() != 3 {
panic(0)
}
g.SetX(4)
if g.Getx() != 4 {
panic(0)
}
}