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

import . "swigtests/cpp_static"

func main() {
	StaticFunctionTestStatic_func()
	StaticFunctionTestStatic_func_2(1)
	StaticFunctionTestStatic_func_3(1, 2)
	SetStaticMemberTestStatic_int(10)
	if GetStaticMemberTestStatic_int() != 10 {
		panic(GetStaticMemberTestStatic_int())
	}
}