Added extra test-case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
544c455e4c
commit
07e923c024
1 changed files with 4 additions and 0 deletions
|
|
@ -15,6 +15,7 @@
|
||||||
{
|
{
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
int f(int min) { return min; }
|
||||||
%}
|
%}
|
||||||
|
|
||||||
#define ARITH_RTYPE(A1, A2) A2
|
#define ARITH_RTYPE(A1, A2) A2
|
||||||
|
|
@ -38,3 +39,6 @@ ARITH_RTYPE(double,int) hello1();
|
||||||
//
|
//
|
||||||
HELLO_TYPE(double,int) hello2();
|
HELLO_TYPE(double,int) hello2();
|
||||||
|
|
||||||
|
#define min(x,y) ((x) < (y)) ? (x) : (y)
|
||||||
|
int f(int min);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue