fix typecheck for INPUT* type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
eb78df9899
commit
f64047eb5c
2 changed files with 11 additions and 16 deletions
|
|
@ -7,9 +7,14 @@ if f.foo(2) != 4:
|
|||
if f.foo(None)!= None:
|
||||
raise RuntimeError
|
||||
|
||||
if f.foo()!= None:
|
||||
raise RuntimeError
|
||||
|
||||
if sfoo("Hello") != "Hello world":
|
||||
raise RuntimeError
|
||||
|
||||
if sfoo(None) != None:
|
||||
raise RuntimeError
|
||||
|
||||
|
||||
if sfoo() != None:
|
||||
raise RuntimeError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue