git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
17 lines
251 B
Python
17 lines
251 B
Python
# This is the import runtime testcase.
|
|
|
|
import imports_b
|
|
import imports_a
|
|
import sys
|
|
|
|
x = imports_b.B()
|
|
imports_a.A.hello(x)
|
|
|
|
a = imports_a.A()
|
|
|
|
c = imports_b.C()
|
|
a1 = c.get_a(c)
|
|
a2 = c.get_a_type(c)
|
|
|
|
if a1.hello() != a2.hello():
|
|
raise RuntimeError
|