diff options
Diffstat (limited to 'Examples/test-suite/go/go_inout_runme.go')
-rw-r--r-- | Examples/test-suite/go/go_inout_runme.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Examples/test-suite/go/go_inout_runme.go b/Examples/test-suite/go/go_inout_runme.go index 2dc5b9908..84dec7a0b 100644 --- a/Examples/test-suite/go/go_inout_runme.go +++ b/Examples/test-suite/go/go_inout_runme.go @@ -50,4 +50,8 @@ func main() { fmt.Println("for c2.M got", pm, "want", want) panic(pm) } + + c1 := go_inout.NewC1() + c2.M2(c1) + c2.M2(nil) } |