Sign in
android
/
platform
/
external
/
swig
/
refs/heads/main
/
.
/
Examples
/
test-suite
/
go
/
typedef_scope_runme.go
blob: 9c845bb698c4053edff14c288d747f063d5ad325 [
file
] [
log
] [
blame
]
package main
import "swigtests/typedef_scope"
func main() {
b := typedef_scope.NewBar()
x := b.Test1(42, "hello")
if x != 42 {
panic("Failed!!")
}
xb := b.Test2(42, "hello")
if xb != "hello" {
panic("Failed!!")
}
}