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

static_const_member_2

c = Test_int();
try
    a = c.forward_field;
    a = c.current_profile;
    a = c.RightIndex;
    a = Test_int.backward_field;
    a = Test_int.LeftIndex;
    a = Test_int.cavity_flags;
catch
end_try_catch


if (Foo.BAZ.val != 2*Foo.BAR.val)
    error
endif