diff options
Diffstat (limited to 'tests/let/timportc2.nim')
-rw-r--r-- | tests/let/timportc2.nim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/let/timportc2.nim b/tests/let/timportc2.nim new file mode 100644 index 000000000..964305923 --- /dev/null +++ b/tests/let/timportc2.nim @@ -0,0 +1,8 @@ +discard """ + errormsg: "'let' symbol requires an initialization" + line: "7" +""" + +# Test that this still works when not annotated with importc +let test: cint +echo test |