summary refs log tree commit diff stats
path: root/tests/system
diff options
context:
space:
mode:
Diffstat (limited to 'tests/system')
-rw-r--r--tests/system/tdollars.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/system/tdollars.nim b/tests/system/tdollars.nim
index 478a11b94..6ddec911f 100644
--- a/tests/system/tdollars.nim
+++ b/tests/system/tdollars.nim
@@ -70,3 +70,10 @@ block: # `$`(SomeInteger)
     testType uint64
     testType int64
     testType BiggestInt
+
+block: # #14350 for JS
+  var cstr: cstring
+  doAssert cstr == cstring(nil)
+  doAssert cstr == nil
+  doAssert cstr.isNil
+  doAssert cstr != cstring("")