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

bar ()
{
  foo foobar[100];
  foobar[1].a = 'a';
  foobar[2].a = 'b';
  barfoo (foobar);
}