diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/include/test.h | 6 | ||||
| -rw-r--r-- | tests/tnimterop_c.nim | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/include/test.h b/tests/include/test.h index b22e2d8..e9c281c 100644 --- a/tests/include/test.h +++ b/tests/include/test.h @@ -194,6 +194,12 @@ struct JKL { int **f1; }; +// Issue #178 +typedef enum +{ + SDLK_UNDERSCORE = '_' +} SDL_KeyCode; + #ifdef __cplusplus } #endif diff --git a/tests/tnimterop_c.nim b/tests/tnimterop_c.nim index fe4e9ee..e78e7f2 100644 --- a/tests/tnimterop_c.nim +++ b/tests/tnimterop_c.nim @@ -227,3 +227,4 @@ cg.f2 = nil doAssert BIT == 1 doAssert ca(nil) == 1 doAssert cc(nil) == 2 +doAssert SDLK_UNDERSCORE == 95
\ No newline at end of file |
