swig/Examples/test-suite/inctest.i
William S Fulton d71d6d1d85 Added test for %import
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-11 21:33:34 +00:00

16 lines
429 B
OpenEdge ABL

%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.
//
// Also repeats the test for the import directive in subdirectories
%include "testdir/test.i"