diff options
Diffstat (limited to 'Examples/test-suite/arrays.i')
-rw-r--r-- | Examples/test-suite/arrays.i | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Examples/test-suite/arrays.i b/Examples/test-suite/arrays.i index 07162aa90..f98dd0718 100644 --- a/Examples/test-suite/arrays.i +++ b/Examples/test-suite/arrays.i @@ -73,4 +73,8 @@ typedef struct { cartPosition_t p; } CartPoseData_t; +/* Test left shift in array size doesn't trigger "Bad template type" error. + * Regression test for https://sourceforge.net/p/swig/bugs/983/ */ +char array_shifted_size[(1<<2)]; + %} |