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:
Baozeng Ding 2009-08-14 03:35:30 +00:00
commit 4ca1d4c19e
4 changed files with 55 additions and 0 deletions

View 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