aboutsummaryrefslogtreecommitdiff
path: root/libctf/testsuite/libctf-regression/type-add-unnamed-struct-ctf.c
blob: a1573a70059d22bd03d09588757791a9ca2e06c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
struct foo
{
  union
  {
    struct
    {
      int bar;
    };
  };
  union
  {
    struct
    {
      int baz;
      struct foo *foo;
    };
  };
};

struct foo *bar;