diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2019-12-21 12:20:33 -0600 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2019-12-21 12:20:33 -0600 |
| commit | 3fcc3b9526a8afe4c8caa75b15ad074dde6dc63c (patch) | |
| tree | 351bb055d46a94eff52c76987647cc2032ed8839 /tests/tnimterop_c.nim | |
| parent | 421bfdc53fd8f56e92827680253a6ddaaa53c8cf (diff) | |
| download | nimterop-issue75.tar.gz nimterop-issue75.zip | |
Fix #75 - support char and char* #definesissue75
Diffstat (limited to 'tests/tnimterop_c.nim')
| -rw-r--r-- | tests/tnimterop_c.nim | 2 |
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 |
