Sign in
fuchsia
/
third_party
/
swig
/
1915740af8c26720f366162c768c223bddb15c7c
/
.
/
Examples
/
test-suite
/
go
/
smart_pointer_multi_runme.go
blob: d1a5f92f40058cc8b6f937fd23abc9b7e3c1548e [
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)
}
}