Added test for subincluiding files with the same basename, reported by Kerim Borchaev

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2003-11-20 19:56:34 +00:00
commit 8d1ccabff4
8 changed files with 74 additions and 1 deletions

View file

@ -0,0 +1,15 @@
#ifndef __subdir1_hello_i__
#define __subdir1_hello_i__
%inline %{
struct A
{
};
%}
#endif //__subdir1_hello_i__

View file

@ -0,0 +1 @@
%include "hello.i"

View file

@ -0,0 +1,14 @@
#ifndef __subdir2_hello_i__
#define __subdir2_hello_i__
%inline %{
struct B
{
};
%}
#endif //__subdir2_hello_i__

View file

@ -0,0 +1,2 @@
%include "hello.i"

View file

@ -0,0 +1,3 @@
%include "subdir1/subinc1.i"
%include "subdir2/subinc2.i"