summaryrefslogtreecommitdiff
path: root/test/regression/struct3.c
blob: e98bf12a63391c8759cc0bb2af2a7b0a54e8bbac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
int f() {
  {
    struct B;
    struct B { double d; };
    {
      struct B;
      extern void bar(struct B d);
      struct B  {
        int k;
        short h;
      };
      struct B p = { 1, 2};
      bar(p);
    }
  }
  return 0;
}