summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr38343-2.c
blob: 8444cc78f06a06d0c3f99e5cc7a4b30648f0a276 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR middle-end/38343 */

static struct S
{
  char f[6];
} s[] = { {"01000"} };

char *
foo (void)
{
  return __builtin_stpcpy (s[0].f, "S0022");
}