summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/layout.c
blob: 04c825df6451ed5b55b1b7b4feac01befcd4a767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
struct foo
{
  char a;
};

foo ()
{
  struct foo bar[3];
  bar[0].a = '0';
  bar[1].a = '1';
  bar[2].a = '2';
  foof (bar);
}