Partially implemented RFE #2471534 and some other minor improvements
[fw/sdcc] / support / regression / tests / memory.c
index 6ad87559a01569829ad62e5d9a6d029c89c00bcb..911900b980637179c8fcc3d0d2daa80ab6df3b0c 100644 (file)
@@ -39,5 +39,9 @@ void testmemory(void)
   ASSERT(NULL == memchr(destination, 5, 4));
   ASSERT(destination == memchr(destination, 0, 4));
   ASSERT(destination + 3 == memchr(destination, 3, 4));*/
+
+  ASSERT(strlen("test") == 4);
+  ASSERT(strlen("t") == 1);
+  ASSERT(strlen("") == 0);
 }