add test case for bug #1439898

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-03-03 06:17:54 +00:00
commit 9d1cab9dee

View file

@ -25,3 +25,19 @@
#define MS_NOOVERRIDE -1111
%}
%inline %{
typedef struct {
int a;
int b;
} a_t, *b_t;
a_t* make_a() {
return (a_t*)malloc(sizeof(a_t));
};
b_t make_b() {
return make_a();
};
%}