reject 'typedef int y; int test(x, y)'.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49270 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/declarators.c b/test/Parser/declarators.c
index 15ae7c6..410ac36 100644
--- a/test/Parser/declarators.c
+++ b/test/Parser/declarators.c
@@ -25,4 +25,8 @@
   int Array[*(int*)P+A];
 }
 
+typedef int atype;
+int test3(x, 
+          atype         /* expected-error {{unexpected type name 'atype': expected identifier}} */
+         ) int x, atype; {}