fix serious bug with def args + static methods

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6644 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-11-03 10:22:15 +00:00
commit b19d0dc05e
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,17 @@
import default_args
if default_args.Statics.staticmethod() != 60:
raise RuntimeError
if default_args.cfunc1(1) != 2:
raise RuntimeError
if default_args.cfunc2(1) != 3:
raise RuntimeError
if default_args.cfunc3(1) != 4:
raise RuntimeError