]>
git.ipfire.org Git - thirdparty/glibc.git/blob - string/bug-strncat1.c
1 /* Test case by Joseph S. Myers <jsm28@cam.ac.uk>. */
2 #undef __USE_STRING_INLINES
3 #define __USE_STRING_INLINES
13 strncat (d
, "\5\6", 1);
16 puts ("d[0] != '\\5'");
21 puts ("d[1] != '\\0'");
26 puts ("d[2] != '\\2'");