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;
small = new_SmallStruct();
SmallStruct_jill_set(small, 200);
big = new_BigStruct();
BigStruct_jack_set(big, 300);
Jill = SmallStruct_jill_get(small);
if Jill <> 200 then pause, end
Jack = BigStruct_jack_get(big);
if Jack <> 300 then pause, end
exit