1 #include "check_debug.h"
3 int strlen(const char *str
);
4 int strnlen(const char *str
, int limit
);
8 __smatch_implied(strlen("foo"));
9 __smatch_implied(strnlen("foo", 2));
13 * check-name: Smatch strlen test #3
14 * check-command: smatch -I.. sm_strlen3.c
17 sm_strlen3.c:8 func() implied: strlen("foo") = '3'
18 sm_strlen3.c:9 func() implied: strnlen("foo", 2) = '2'