Three new broken test cases created to test various patches in the patch list.

Bugs 909389, 962115, and 899332.
These bugs all have fixes in the patch system.
Patches 903150, 914926, and 962168.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
John Lenz 2004-08-23 07:06:01 +00:00
commit 09a0978dfc
6 changed files with 102 additions and 0 deletions

View file

@ -0,0 +1,12 @@
import return_const_value
import sys
p = return_const_value.FooPtr.getPtr()
if (p.getVal() != 17):
print "Runtime test1 faild. p.getVal()=", p.getVal()
sys.exit(1)
p = return_const_value.FooPtr.getConstPtr()
if (p.getVal() != 17):
print "Runtime test2 faild. p.getVal()=", p.getVal()
sys.exit(1)