blob: 0e1c8a61eb56829ba8a60ba91f66e5884eff8261 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# do not dump Octave core
if exist("crash_dumps_octave_core", "builtin")
crash_dumps_octave_core(0);
endif
smart_pointer_typedef
f = Foo();
b = Bar(f);
b.x = 3;
if (b.getx() != 3)
error
endif
fp = b.__deref__();
fp.x = 4;
if (fp.getx() != 4)
error
endif
|