swig/Examples/test-suite/python/template_extend2_runme.py
Dave Beazley df9d00e60d new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:25:31 +00:00

10 lines
183 B
Python

import template_extend2
a = template_extend2.lBaz()
b = template_extend2.dBaz()
if a.foo() != "lBaz::foo":
raise RuntimeError
if b.foo() != "dBaz::foo":
raise RuntimeError