llvm-project/clang/test/Parser/function-decls.c

11 lines
198 B
C
Raw Normal View History

/* RUN: clang-cc %s -ast-print
2006-12-02 15:59:33 +08:00
*/
void foo() {
int X;
X = sizeof(void (*(*)())());
X = sizeof(int(*)(int, float, ...));
X = sizeof(void (*(int arga, void (*argb)(double Y)))(void* Z));
}