summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr33122.c
blob: e86254030a6bf32ac0100caafa046461bba5df3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
struct dis386 {
  const char *x;
};

static const struct dis386 float_reg[][2] = {
  { { "fadd" }, { "fadd" } },
};

void foo(int i, int j)
{
  const struct dis386 *dp;

  dp = &float_reg[i - 1][j];
}