diff options
Diffstat (limited to 'test/mem/memrchr_notfound.c')
-rw-r--r-- | test/mem/memrchr_notfound.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/mem/memrchr_notfound.c b/test/mem/memrchr_notfound.c new file mode 100644 index 0000000..bc9ddec --- /dev/null +++ b/test/mem/memrchr_notfound.c @@ -0,0 +1,5 @@ +#include <mem.h> + +static char const buf[] = "test"; + +int main(void) { return calt_memrchr(buf, 'u', sizeof buf) == NULL ? 0 : 1; } |