summaryrefslogtreecommitdiff
path: root/test/regression/struct11.c
blob: 804d03c83ec28f8b9c5dd0d62d8ec459e3d06563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
int printf (const char *, ...);

struct S0 {
  int : 1;
  int f1;
  int : 31;
  int : 4;
  int : 0;
  int : 21;
};

struct S1 {
  struct S0 f2;
  struct S0 f3;
  int f4;
  int f6;
  struct S0 f7;
};

struct S5;

struct S1 g_21;

int g_184;
int *g_367 = &g_184;
int **g_366 = &g_367;

struct S5 *func_27 (struct S1 p_29, struct S5 *p_31)
{
  **g_366 = p_29.f7.f1;
  return p_31;
}

int main (void)
{
  func_27 (g_21, 0);
  printf ("%d\n", g_184);
  return 0;
}