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

import . "swigtests/extend_template_ns"

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

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