aboutsummaryrefslogtreecommitdiffstats
path: root/strend.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--strend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/strend.c b/strend.c
index 4754daf..ff5fa34 100644
--- a/strend.c
+++ b/strend.c
@@ -12,6 +12,7 @@ extern inline char *libsimple_strend(const char *);
int
main(void)
{
+ assert(strcmpnul(libsimple_strend("abc\0xyz"), "xyz"));
return 0;
}