Added test for subincluiding files with the same basename, reported by Kerim Borchaev
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
12882895d3
commit
04e800b085
8 changed files with 74 additions and 1 deletions
15
Examples/test-suite/inctest.i
Normal file
15
Examples/test-suite/inctest.i
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
%module inctest
|
||||
|
||||
//
|
||||
// This test fails if swig is not able to include
|
||||
// the following two files:
|
||||
//
|
||||
// 'testdir/subdir1/hello.i'
|
||||
// 'testdir/subdir2/hello.i'
|
||||
//
|
||||
// since they have the same basename 'hello', swig is only
|
||||
// including one. This is not right, it must include both,
|
||||
// as the well known compilers do.
|
||||
//
|
||||
|
||||
%include "testdir/test.i"
|
||||
Loading…
Add table
Add a link
Reference in a new issue