Revert "Fix handling of array whose size contains <<"

This reverts commit 2227dc9e53.
This commit is contained in:
Olly Betts 2022-07-27 13:45:03 +12:00
commit 6e931b0399
3 changed files with 1 additions and 9 deletions

View file

@ -73,8 +73,4 @@ 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)];
%}