Add testcase virtual_vs_nonvirtual_base as a regression test for SF#3124665.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c44249f32c
commit
748e951e7e
3 changed files with 60 additions and 0 deletions
11
Examples/test-suite/php/virtual_vs_nonvirtual_base_runme.php
Normal file
11
Examples/test-suite/php/virtual_vs_nonvirtual_base_runme.php
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?
|
||||
|
||||
require "tests.php";
|
||||
require "virtual_vs_nonvirtual_base.php";
|
||||
|
||||
$fail = new SimpleClassFail();
|
||||
$work = new SimpleClassWork();
|
||||
|
||||
check::equal($work->getInner()->get(), $fail->getInner()->get(), "should both be 10");
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue