From da33ad4f6b2bd66579f649f750bf76f39f908ef9 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Tue, 27 Dec 2005 22:35:54 +0000 Subject: [PATCH] add more cases git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8096 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/profiletest.i | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/Examples/test-suite/profiletest.i b/Examples/test-suite/profiletest.i index 08f33c2ea..e75f8fc14 100644 --- a/Examples/test-suite/profiletest.i +++ b/Examples/test-suite/profiletest.i @@ -31,6 +31,35 @@ const char* fl(int i) { return "hello"; } + + const char* fs(const char *s) { + return s; + } + + int fi(int a, int) { + return a; + } + + int fi(char *) { + return 1; + } + + int fi(double) { + return 2; + } + + int fi(A *a) { + return 3; + } + + int fi(int a, int, int) { + return a; + } + + int fi(int a, int, int, int) { + return a; + } + }; %}