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