diff options
Diffstat (limited to 'rod/c2nim/tests')
-rw-r--r-- | rod/c2nim/tests/systest.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rod/c2nim/tests/systest.c b/rod/c2nim/tests/systest.c index 0cd174dc8..f6ccaeb0f 100644 --- a/rod/c2nim/tests/systest.c +++ b/rod/c2nim/tests/systest.c @@ -130,6 +130,7 @@ int IupConvertXYToPos(PIhandle ih, int x, int y); #ifdef C2NIM # def EXTERN(x) static x + # def TWO_ARGS(x, y) x* y #endif // parses now! EXTERN(int) f(void); @@ -141,6 +142,9 @@ int IupConvertXYToPos(PIhandle ih, int x, int y); EXPORT int f(void); EXPORT int g(void); + static TWO_ARGS(int, x) = TWO_ARGS(56, 45); + + # define abc 34 # define xyz 42 |