blob: 7c1c92d22ce70e9a6f569c8fbabcda109693bb4d [file] [log] [blame]
/* This interface file tests whether SWIG handles types like
"const int *const" right.
SWIG 1.3a5 signals a syntax error.
*/
%module const_const
%typemap(in) const int *const { $1 = NULL; }
%inline %{
void foo(const int *const i) {}
%}