summaryrefslogtreecommitdiff
path: root/clang/test/Parser/function-decls.c
blob: db9a98b391e602825a6411cc8a5113bbb7068103 (about) (plain)
1
2
3
4
5
6
7
8
9
10
/* RUN: %clang_cc1 %s -ast-print
 */

void foo() {
  int X;
  X = sizeof(void (*(*)())());
  X = sizeof(int(*)(int, float, ...));
  X = sizeof(void (*(int arga, void (*argb)(double Y)))(void* Z));
}