1 /* This interface file tests whether SWIG handles types like
2    "const int *const" right.
3 
4    SWIG 1.3a5 signals a syntax error.
5 */
6 
7 %module const_const
8 
9 %typemap(in) const int *const { $1 = NULL; }
10 
11 %inline %{
foo(const int * const i)12 void foo(const int *const i) {}
13 %}
14