summary refs log tree commit diff stats
path: root/compiler/c2nim/tests
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-09-28 00:41:40 +0200
committerAraq <rumpf_a@web.de>2011-09-28 00:41:40 +0200
commite9b7d5e68eeeb6d468d407437502fd1c178adc43 (patch)
tree0ce6957a7dc01b89c86f68e51c49abc857ad9d42 /compiler/c2nim/tests
parentda6046dcba20cb4aaff1e5712ac7a33a3c4e8445 (diff)
downloadNim-e9b7d5e68eeeb6d468d407437502fd1c178adc43.tar.gz
c2nim: bugfix: parsing of typedef'ed function pointers
Diffstat (limited to 'compiler/c2nim/tests')
-rwxr-xr-xcompiler/c2nim/tests/systest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/c2nim/tests/systest.c b/compiler/c2nim/tests/systest.c
index 4ba1d9044..d1fbb6784 100755
--- a/compiler/c2nim/tests/systest.c
+++ b/compiler/c2nim/tests/systest.c
@@ -10,6 +10,7 @@ extern "C" {
 #endif
 
 typedef void (*callback_t) (int rc);
+typedef const char* (*callback2)(int rc, long L, const char* buffer);
 
 int   aw_callback_set (AW_CALLBACK c, callback_t callback );
 int   aw_instance_callback_set (AW_CALLBACK c, callback_t callback);