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

template_extend2

a = template_extend2.lBaz();
b = template_extend2.dBaz();

if (!strcmp(a.foo(),"lBaz::foo"))
    error
endif

if (!strcmp(b.foo(),"dBaz::foo"))
    error
endif