add unions, typedef_struct, char_contant, sneaky1 testcases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
39f1193f87
commit
4ca1d4c19e
4 changed files with 55 additions and 0 deletions
15
Examples/test-suite/scilab/sneaky1_runme.sci
Normal file
15
Examples/test-suite/scilab/sneaky1_runme.sci
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
exec loader.sce;
|
||||
|
||||
x = add(3, 4);
|
||||
if x <> 7 then pause, end
|
||||
|
||||
y = subtract(3,4);
|
||||
if y <> -1 then pause, end
|
||||
|
||||
z = mul(3,4);
|
||||
if z <> 12 then pause, end
|
||||
|
||||
w = divide(3,4);
|
||||
if w <> 0 then pause, end
|
||||
|
||||
exit
|
||||
Loading…
Add table
Add a link
Reference in a new issue