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
|
|
@ -16,7 +16,7 @@ sub checkCount {
|
|||
{
|
||||
my $kini = new cpp11_std_unique_ptr::KlassInheritance("KlassInheritanceInput");
|
||||
checkCount(1);
|
||||
my $s = cpp11_std_unique_ptr::takeKlassUniquePtr($kini);
|
||||
my $s = cpp11_std_unique_ptr::useKlassRawPtr($kini);
|
||||
is($s, "KlassInheritanceInput", "Incorrect string: $s");
|
||||
undef $kini;
|
||||
checkCount(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue