Three new broken test cases created to test various patches in the patch list.
Bugs 909389, 962115, and 899332. These bugs all have fixes in the patch system. Patches 903150, 914926, and 962168. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2f18b2a9dc
commit
0fb8c59673
6 changed files with 102 additions and 0 deletions
18
Examples/test-suite/perl5/multiple_inheritance_runme.pl
Normal file
18
Examples/test-suite/perl5/multiple_inheritance_runme.pl
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
use multiple_inheritance;
|
||||
|
||||
$fooBar = new multiple_inheritance::FooBar();
|
||||
if ($fooBar->foo() != 2) {
|
||||
print "Runtime test1 failed\n";
|
||||
exit 1;
|
||||
}
|
||||
|
||||
if ($fooBar->bar() != 1) {
|
||||
print "Runtime test2 failed\n";
|
||||
exit 1;
|
||||
}
|
||||
|
||||
if ($fooBar->fooBar() != 3) {
|
||||
print "Runtime test3 failed\n";
|
||||
exit 1;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue