Sign in
fuchsia
/
third_party
/
swig
/
34ee191769e885fefa380d4e7c09c17f3d103ae6
/
.
/
Examples
/
test-suite
/
go
/
smart_pointer_multi_typedef_runme.go
blob: f71740bbb6ce3b916d13e6df1c0d1ae764fe07ef [
file
] [
log
] [
blame
]
package main
import . "./smart_pointer_multi_typedef"
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)
}
}