aboutsummaryrefslogtreecommitdiff
path: root/libctf/testsuite/libctf-lookup/unnamed-field-info-ctf.c
blob: 54d60f5b1956db1f758c523f14e2cc0d3a80f145 (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
struct A
{
  int a;
  char *b;
  struct
  {
    struct
    {
      char *one;
      int two;
    };
    union
    {
      char *three;
    };
  };
  struct
  {
    int four;
  };
  union
  {
    struct
    {
      double x;
      long y;
    };
    struct
    {
      struct { char *foo; } z;
      float aleph;
    };
  };
};

struct A used;