aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/unsorted/stuct.c
blob: deb838d809904cc8bc38c0ad1ac9e5ce7116b4e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifdef STACK_SIZE
#define SIZE STACK_SIZE / 8
#else
#define SIZE 10000000
#endif

struct foo
{
  int a, b, c;
  int arr[SIZE];
};

struct foo s, ss;

main ()
{

  s.b = 2;
  s.c = 3;
  ss.b = 2;
  ss.c = 3;
}