summaryrefslogtreecommitdiff
path: root/Examples/test-suite/go/extend_template_runme.go
blob: 4a6b7099b2c94f1b982004837dde9d22b42f00c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package main

import "swigtests/extend_template"

func main() {
	f := extend_template.NewFoo_0()
	if f.Test1(37) != 37 {
		panic(0)
	}

	if f.Test2(42) != 42 {
		panic(0)
	}
}