add pointer test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7725 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0fdc165aa7
commit
46c43c51cd
2 changed files with 25 additions and 1 deletions
|
|
@ -35,3 +35,12 @@ if pi.value != 7:
|
|||
pi.value=3
|
||||
if pi.value != 3:
|
||||
raise RuntimeError
|
||||
|
||||
|
||||
b = li_attribute.B(aa)
|
||||
|
||||
if b.a.c != 3:
|
||||
raise RuntimeError
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue