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

import "swigtests/template_extend1"

func main() {
	a := template_extend1.NewLBaz()
	b := template_extend1.NewDBaz()

	if a.Foo() != "lBaz::foo" {
		panic(0)
	}

	if b.Foo() != "dBaz::foo" {
		panic(0)
	}
}