mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-15 17:10:34 -04:00
21 lines
277 B
C
21 lines
277 B
C
// 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;
|
|
}
|