Correct raw pointer handling test for virtual inheritance
This commit is contained in:
parent
1f2338bf41
commit
63632f80fb
12 changed files with 16 additions and 14 deletions
|
|
@ -10,7 +10,7 @@ function checkCount($expected_count) {
|
|||
# Test raw pointer handling involving virtual inheritance
|
||||
$kini = new KlassInheritance("KlassInheritanceInput");
|
||||
checkCount(1);
|
||||
$s = takeKlassUniquePtr($kini);
|
||||
$s = useKlassRawPtr($kini);
|
||||
check::equal($s, "KlassInheritanceInput", "Incorrect string: $s");
|
||||
$kini = NULL;
|
||||
checkCount(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue