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

extend_template_ns

f = Foo_One();
if (f.test1(37) != 37)
    error
endif

if (f.test2(42) != 42)
    error
endif