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