1// RUN: %clang_cc1 %s -ast-print | FileCheck %s
2
3typedef void func_typedef();
4func_typedef xxx;
5
6typedef void func_t(int x);
7func_t a;
8
9struct blah {
10  struct {
11    struct {
12      int b;
13    };
14  };
15};
16
17int foo(const struct blah *b) {
18  // CHECK: return b->b;
19  return b->b;
20}
21