commit | ca9f52e2ab8cd1e82f16a9d1e9e1756baecd916e | [log] [tgz] |
---|---|---|
author | Douglas Gregor <doug.gregor@gmail.com> | Mon Feb 16 20:58:07 2009 +0000 |
committer | Douglas Gregor <doug.gregor@gmail.com> | Mon Feb 16 20:58:07 2009 +0000 |
tree | cc36508921e59409641ff923d52acf95cf174d9e | |
parent | 863dbfb90bc9f32389ebadf6c9668dbf3535a708 [diff] [blame] |
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;}