Fix handling of array whose size contains <<
Fixes https://sourceforge.net/p/swig/bugs/983/
This commit is contained in:
parent
24ec116742
commit
2227dc9e53
4 changed files with 12 additions and 2 deletions
|
|
@ -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/ */
|
||||
int array_shifted_size[(1<<2)];
|
||||
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue