diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/c/Issue_3356.c')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/c/Issue_3356.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/c/Issue_3356.c b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/c/Issue_3356.c new file mode 100644 index 00000000..de2dba21 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/c/Issue_3356.c @@ -0,0 +1,13 @@ +/* PR middle-end/46360 */ + +__attribute__((gnu_inline, always_inline)) extern inline char * +strncpy (char *dest, const char *src, SIZE_TYPE len) +{ +return __builtin_strncpy (dest, src, len); +} + +void +foo (char *s) +{ +strncpy (s, "", 0); +} |