Fix linker error in constant_expr testcase

This commit is contained in:
William S Fulton 2022-02-20 17:57:38 +00:00
commit 5e85cf617a

View file

@ -21,6 +21,6 @@ isPointer = false
* SWIG 3.0.4 until 4.1.0, `Unknown directive '%a'`.
*/
int a;
int test2(int b = 9%a);
int test2(int b = 9%a) { return b; }
%}