swig/Examples/test-suite/python/static_const_member_2_runme.py
Marcelo Matus e7bd6be39e fix bug #1174705
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:15:26 +00:00

16 lines
306 B
Python

from static_const_member_2 import *
c = Test_int()
try:
a = c.forward_field
a = c.current_profile
a = c.RightIndex
a = Test_int.backward_field
a = Test_int.LeftIndex
a = Test_int.cavity_flags
except:
raise RuntimeError
if Foo.BAZ.val != 2*Foo.BAR.val:
raise RuntimeError