From bc97fda47f47d72f10a706fd17cafbccb53352f4 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Thu, 19 Jan 2006 04:48:25 +0000 Subject: [PATCH] add more cases git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8478 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/constant_pointers.i | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Examples/test-suite/constant_pointers.i b/Examples/test-suite/constant_pointers.i index 49c6e98d2..3c8dcdf88 100644 --- a/Examples/test-suite/constant_pointers.i +++ b/Examples/test-suite/constant_pointers.i @@ -131,3 +131,13 @@ char *langs[] ={"Hello"}; char **languages2 = (char **)&langs[0]; } +%inline %{ +struct Foo { + const int *icap; +}; +const int* icap; +const Foo *cap; +%} + + +