1 #undef __USE_STRING_INLINES
2 #define __USE_STRING_INLINES
13 DIAG_PUSH_NEEDS_COMMENT
;
14 #if __GNUC_PREREQ (8, 0)
15 /* GCC 8 warns about strncat truncating output; this is deliberately
17 DIAG_IGNORE_NEEDS_COMMENT (8, "-Wstringop-truncation");
19 strncat (d
, "\5\6", 1);
20 DIAG_POP_NEEDS_COMMENT
;
23 puts ("d[0] != '\\5'");
28 puts ("d[1] != '\\0'");
33 puts ("d[2] != '\\2'");