blob: 516e9f5d9e17133e1f450d434190e114f49d391b [file] [log] [blame]
import return_const_value
import sys
p = return_const_value.Foo_ptr.getPtr()
if (p.getVal() != 17):
print "Runtime test1 faild. p.getVal()=", p.getVal()
sys.exit(1)
p = return_const_value.Foo_ptr.getConstPtr()
if (p.getVal() != 17):
print "Runtime test2 faild. p.getVal()=", p.getVal()
sys.exit(1)