aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/920721-1.c
blob: 7ced611eb6f2423aefb166097a82826a6113224c (plain)
1
2
3
4
5
6
7
8
9
10
11
typedef struct{short ttype;float s;}T;
short t[8][8];

T f(T t2,T t1)
{
  T x;
  if (t1.ttype == 1)
    x.ttype = t[t2.ttype][t1.ttype],
    x.s = 1;
  return x;
}