added test for simple virtual derivation, where ruby fails
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e63a259672
commit
baf05fd515
3 changed files with 70 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
from virtual_derivation import *
|
||||
#
|
||||
# very innocent example
|
||||
#
|
||||
b = B(3)
|
||||
if b.get_a() != b.get_b():
|
||||
raise RuntimeError, "something is really wrong"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue