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
|
|
@ -15,7 +15,7 @@ end
|
|||
# Test raw pointer handling involving virtual inheritance
|
||||
kini = KlassInheritance("KlassInheritanceInput");
|
||||
checkCount(1);
|
||||
s = takeKlassAutoPtr(kini);
|
||||
s = useKlassRawPtr(kini);
|
||||
if (!strcmp(s, "KlassInheritanceInput"))
|
||||
error("Incorrect string: %s", s);
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue