1 // RUN: clang -fsyntax-only -verify %s 2 3 // PR2942 4 typedef void fn(int); 5 fn f; 6 7 int g(int x, int y); 8 int g(int x, int y = 2); 9 10 typedef int g_type(int, int); 11 g_type g; 12 13 int h(int x) { 14 return g(x); 15 } 16