aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr52074.c
blob: 92a2096f055670cb8d27a79b53a755265114f649 (plain)
1
2
3
4
5
6
7
8
9
10
/* PR middle-end/52074 */

struct S { const char *d, *e; } __attribute__((packed));

void
foo (const char **p, struct S *q)
{
  *p = "abcdef";
  q->d = "ghijk";
}