summaryrefslogtreecommitdiff
path: root/Examples/test-suite/preproc_constants.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/preproc_constants.i')
-rw-r--r--Examples/test-suite/preproc_constants.i2
1 files changed, 2 insertions, 0 deletions
diff --git a/Examples/test-suite/preproc_constants.i b/Examples/test-suite/preproc_constants.i
index 7507d632c..ef5c35e12 100644
--- a/Examples/test-suite/preproc_constants.i
+++ b/Examples/test-suite/preproc_constants.i
@@ -85,6 +85,8 @@
/// constant assignment in enum
#if defined(SWIGCSHARP)
%csconstvalue("1<<2") kValue;
+#elif defined(SWIGD)
+%dconstvalue("1<<2") kValue;
#endif
%{