summaryrefslogtreecommitdiff
path: root/Examples/test-suite/octave/naturalvar_runme.m
blob: 6059b027370c2c13f43c77293cae8987681c4a58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# do not dump Octave core
if exist("crash_dumps_octave_core", "builtin")
  crash_dumps_octave_core(0);
endif

naturalvar

f = Foo();
b = Bar();

b.f = f;

cvar.s = "hello";
b.s = "hello";

if (b.s != cvar.s)
    error
endif