add def arg case, as mentioned in the manual
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7068 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
eb2f355371
commit
d842a1d613
1 changed files with 3 additions and 0 deletions
|
|
@ -11,5 +11,8 @@ if f.test("Hello") != "Hello":
|
|||
raise RuntimeError, "Failed"
|
||||
|
||||
|
||||
if varargs.test_def("Hello",1) != "Hello":
|
||||
raise RuntimeError, "Failed"
|
||||
|
||||
if varargs.test_def("Hello") != "Hello":
|
||||
raise RuntimeError, "Failed"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue