blob: c6d22273c544b9c708c0fbe9b9ff5826a0877b19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
from smart_pointer_rename import *
f = Foo()
b = Bar(f)
if b.test() != 3:
raise RuntimeError
if b.ftest1(1) != 1:
raise RuntimeError
if b.ftest2(2,3) != 2:
raise RuntimeError
|