projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Partially implemented RFE #2471534 and some other minor improvements
[fw/sdcc]
/
support
/
regression
/
tests
/
memory.c
diff --git
a/support/regression/tests/memory.c
b/support/regression/tests/memory.c
index 6ad87559a01569829ad62e5d9a6d029c89c00bcb..911900b980637179c8fcc3d0d2daa80ab6df3b0c 100644
(file)
--- a/
support/regression/tests/memory.c
+++ b/
support/regression/tests/memory.c
@@
-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);
}