Simplify test-suite/overload_return_type.i (checked that it still fails before

the fix it's a regression test for) and added _runme.php for it.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2011-03-14 11:58:58 +00:00
commit 5d765893ed
2 changed files with 12 additions and 9 deletions

View file

@ -0,0 +1,10 @@
<?php
require "tests.php";
require "overload_return_type.php";
$b = new B;
check::equal($b->foo(1), 0, "");
check::classname("A", $b->foo("test"));
?>