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

static struct A
{
  char f[6];
} a[] = { {"01000"} };

void
foo (void)
{
  __builtin_stpcpy (a[0].f, "S0022");
}