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
|
|
@ -8,7 +8,7 @@ def checkCount(expected_count):
|
|||
# Test raw pointer handling involving virtual inheritance
|
||||
kini = KlassInheritance("KlassInheritanceInput")
|
||||
checkCount(1)
|
||||
s = takeKlassUniquePtr(kini)
|
||||
s = useKlassRawPtr(kini)
|
||||
if s != "KlassInheritanceInput":
|
||||
raise RuntimeError("Incorrect string: " + s)
|
||||
del kini
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue