freebsd-dev/test/Parser/function-decls.c

11 lines
200 B
C
Raw Normal View History

2010-01-01 10:34:51 +00:00
/* RUN: %clang_cc1 %s -ast-print
2009-06-02 17:58:47 +00:00
*/
void foo() {
int X;
X = sizeof(void (*(*)())());
X = sizeof(int(*)(int, float, ...));
X = sizeof(void (*(int arga, void (*argb)(double Y)))(void* Z));
}