Merge branch 'davedissian-redundant-typedef-fix'
* davedissian-redundant-typedef-fix: Add more runtime typedef_classforward_same_name runtime testing Fixed 'typedef class Foo Foo;' edge case by iterating through linked list. Added test case for a forward declaration in a typedef with the same name
This commit is contained in:
commit
6607acdf3a
6 changed files with 67 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
from typedef_classforward_same_name import *
|
||||
|
||||
foo = Foo()
|
||||
foo.x = 5
|
||||
if extractFoo(foo) != 5:
|
||||
raise RuntimeError("unexpected value")
|
||||
|
||||
boo = Boo()
|
||||
boo.x = 5
|
||||
if extractBoo(boo) != 5:
|
||||
raise RuntimeError("unexpected value")
|
||||
Loading…
Add table
Add a link
Reference in a new issue