diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-02-16 20:58:07 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-02-16 20:58:07 +0000 |
commit | 450da9832b31d9b2e90af7708d197e5b9e1af8c8 (patch) | |
tree | cc36508921e59409641ff923d52acf95cf174d9e /test/CodeGen/functions.c | |
parent | 9800dadea77ad62450fc37268eb9778be2f86d06 (diff) |
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
Diffstat (limited to 'test/CodeGen/functions.c')
-rw-r--r-- | test/CodeGen/functions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGen/functions.c b/test/CodeGen/functions.c index 60e2b6c80c..83da64704b 100644 --- a/test/CodeGen/functions.c +++ b/test/CodeGen/functions.c @@ -15,3 +15,5 @@ void test3(T f) { f(); } +int a(int); +int a() {return 1;} |