summaryrefslogtreecommitdiff
path: root/Examples/test-suite
diff options
context:
space:
mode:
authorMarcelo Matus <mmatus@acms.arizona.edu>2004-10-30 12:14:42 +0000
committerMarcelo Matus <mmatus@acms.arizona.edu>2004-10-30 12:14:42 +0000
commitd83ec6779b9c1df624b1f53ff872b20c0d937932 (patch)
tree6396a72935d046a6d9274efd4da1349f2cc6702e /Examples/test-suite
parent70005861fd513da88151a16b8893c7918b71d6a3 (diff)
downloadswig-d83ec6779b9c1df624b1f53ff872b20c0d937932.tar.gz
fix cpp + defined variable name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6569 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/test-suite')
-rw-r--r--Examples/test-suite/preproc.i7
1 files changed, 7 insertions, 0 deletions
diff --git a/Examples/test-suite/preproc.i b/Examples/test-suite/preproc.i
index 168811278..99d54fda9 100644
--- a/Examples/test-suite/preproc.i
+++ b/Examples/test-suite/preproc.i
@@ -268,3 +268,10 @@ inline const char* mangle ## #@__VA_ARGS__ () {
#define one ONE
#define two TWO
#define three THREE(42)
+
+
+%inline %{
+int endif = 0;
+int define = 0;
+int defined = 0;
+%}