When merging from a function with a prototype to a function without a
prototype, synthesize ParmVarDecls for prototype-less FunctionDecl.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64666 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/functions.c b/test/CodeGen/functions.c
index 60e2b6c..83da647 100644
--- a/test/CodeGen/functions.c
+++ b/test/CodeGen/functions.c
@@ -15,3 +15,5 @@
   f();
 }
 
+int a(int);
+int a() {return 1;}