summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20050206-1.c
blob: 5ea49a6b2389ff43dcb57541d9031ce46cc74273 (plain)
1
2
3
4
5
6
7
8
unsigned short foo (void)
{
  unsigned short u[1] = { 1 };
  u[0] = 0;
  u[1] = 1;
  u[2] = 2;
  return u[0] + u[1] + u[2];
}