summaryrefslogblamecommitdiffstats
path: root/test-strnlen.c
blob: 0bb69791c0b4967ea097bcbaaa9279ed17769276 (plain) (tree)
1
2
3
4
5
6
7
8







                                   
#include <string.h>

int
main(void)
{
	const char s[1] = { 'a' };
	return(1 != strnlen(s, 1));
}