aboutsummaryrefslogtreecommitdiff
path: root/tests/tnimterop_c.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tnimterop_c.nim')
-rw-r--r--tests/tnimterop_c.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tnimterop_c.nim b/tests/tnimterop_c.nim
index fb1505a..319c766 100644
--- a/tests/tnimterop_c.nim
+++ b/tests/tnimterop_c.nim
@@ -46,6 +46,8 @@ cImport cSearchPath "test.h"
check TEST_INT == 512
check TEST_FLOAT == 5.12
check TEST_HEX == 0x512
+check TEST_CHAR == 'a'
+check TEST_STR == "hello world"
when defined(osx):
check OSDEF == 10