blob: ae080833b87fd4e4319693f5ca1b44b6be7a396c [file] [log] [blame]
import dynamic_cast
f = dynamic_cast.Foo()
b = dynamic_cast.Bar()
x = f.blah()
y = b.blah()
a = dynamic_cast.do_test(y)
if a != "Bar::test":
raise RuntimeError("Failed!!")