/tags/rel-1-3-26/SWIG/Examples/test-suite/inctest.i
Swig | 16 lines | 14 code | 2 blank | 0 comment | 0 complexity | f063865ab36242d0ce5d8f3da1da2fb6 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- %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"