test #1508327 - Overloaded methods are hidden when using -fvirtual optimisation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8d6f192be6
commit
ef1e6d4696
1 changed files with 9 additions and 0 deletions
9
SWIG/Examples/test-suite/python/fvirtual_runme.py
Normal file
9
SWIG/Examples/test-suite/python/fvirtual_runme.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
from fvirtual import *
|
||||
|
||||
sw = Switch()
|
||||
n = Node()
|
||||
i = sw.addChild(n);
|
||||
|
||||
if i != 2:
|
||||
raise RuntimeError, "addChild"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue