diff options
author | Marcelo Matus <mmatus@acms.arizona.edu> | 2003-11-20 19:56:34 +0000 |
---|---|---|
committer | Marcelo Matus <mmatus@acms.arizona.edu> | 2003-11-20 19:56:34 +0000 |
commit | 04e800b085c473f270819922c7115d5b0e1c49cc (patch) | |
tree | b474332114fb773b3ac488d8d1d5e07ff981de93 /Examples/test-suite/testdir | |
parent | 12882895d3d2defe18da648fb56d1c2fe22a2dac (diff) | |
download | swig-04e800b085c473f270819922c7115d5b0e1c49cc.tar.gz |
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
Diffstat (limited to 'Examples/test-suite/testdir')
-rw-r--r-- | Examples/test-suite/testdir/subdir1/hello.i | 15 | ||||
-rw-r--r-- | Examples/test-suite/testdir/subdir1/subinc1.i | 1 | ||||
-rw-r--r-- | Examples/test-suite/testdir/subdir2/hello.i | 14 | ||||
-rw-r--r-- | Examples/test-suite/testdir/subdir2/subinc2.i | 2 | ||||
-rw-r--r-- | Examples/test-suite/testdir/test.i | 3 |
5 files changed, 35 insertions, 0 deletions
diff --git a/Examples/test-suite/testdir/subdir1/hello.i b/Examples/test-suite/testdir/subdir1/hello.i new file mode 100644 index 000000000..77f529486 --- /dev/null +++ b/Examples/test-suite/testdir/subdir1/hello.i @@ -0,0 +1,15 @@ +#ifndef __subdir1_hello_i__ +#define __subdir1_hello_i__ + +%inline %{ + + struct A + { + }; + +%} + + + + +#endif //__subdir1_hello_i__ diff --git a/Examples/test-suite/testdir/subdir1/subinc1.i b/Examples/test-suite/testdir/subdir1/subinc1.i new file mode 100644 index 000000000..159d54b0a --- /dev/null +++ b/Examples/test-suite/testdir/subdir1/subinc1.i @@ -0,0 +1 @@ +%include "hello.i" diff --git a/Examples/test-suite/testdir/subdir2/hello.i b/Examples/test-suite/testdir/subdir2/hello.i new file mode 100644 index 000000000..c7883eab4 --- /dev/null +++ b/Examples/test-suite/testdir/subdir2/hello.i @@ -0,0 +1,14 @@ +#ifndef __subdir2_hello_i__ +#define __subdir2_hello_i__ + + +%inline %{ + + struct B + { + }; + +%} + + +#endif //__subdir2_hello_i__ diff --git a/Examples/test-suite/testdir/subdir2/subinc2.i b/Examples/test-suite/testdir/subdir2/subinc2.i new file mode 100644 index 000000000..912bf0550 --- /dev/null +++ b/Examples/test-suite/testdir/subdir2/subinc2.i @@ -0,0 +1,2 @@ +%include "hello.i" + diff --git a/Examples/test-suite/testdir/test.i b/Examples/test-suite/testdir/test.i new file mode 100644 index 000000000..4c0b5fc82 --- /dev/null +++ b/Examples/test-suite/testdir/test.i @@ -0,0 +1,3 @@ + +%include "subdir1/subinc1.i" +%include "subdir2/subinc2.i" |