PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/octave/template_typedef_import_runme.m

#
Objective C | 34 lines | 24 code | 10 blank | 0 comment | 0 complexity | eff6081a85dba6d85adc63b8e6796bcc MD5 | raw file
 1template_typedef_cplx2
 2template_typedef_import
 3
 4#
 5# this is OK
 6#
 7
 8
 9s = Sin();
10s.get_base_value();
11s.get_value();
12s.get_arith_value();
13my_func_r(s);
14make_Multiplies_double_double_double_double(s,s);
15
16z = CSin();
17z.get_base_value();
18z.get_value();
19z.get_arith_value();
20my_func_c(z);
21make_Multiplies_complex_complex_complex_complex(z,z);
22
23#
24# Here we fail
25#
26d = make_Identity_double();
27my_func_r(d);
28
29c = make_Identity_complex();
30my_func_c(c);
31
32
33
34