diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/pr44246.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr44246.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr44246.c b/gcc/testsuite/gcc.c-torture/compile/pr44246.c new file mode 100644 index 000000000..6e4786903 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr44246.c @@ -0,0 +1,5 @@ +int main(int argc, char *argv[]) +{ + strcat(argv[0], "X"); + return strlen(argv[0]); +} |