2026-03-29 14:17:11 +11:00
|
|
|
// This is the import runtime testcase.
|
|
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
|
|
import "swigtests/imports_b"
|
|
|
|
|
import "swigtests/imports_a"
|
|
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
|
x := imports_b.NewB()
|
|
|
|
|
x.Hello()
|
|
|
|
|
|
|
|
|
|
_ = imports_a.NewA()
|
|
|
|
|
|
|
|
|
|
c := imports_b.NewC()
|
|
|
|
|
_ = c.Get_a(c)
|
|
|
|
|
_ = c.Get_a_type(c)
|
|
|
|
|
}
|