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 | bfdd607372e900c3a05bcb3ce7a172179def8048 (patch) | |
tree | 633ab8dff88d7d1c0e3077d5ae53e2c0bedf60d1 /clang/test | |
parent | 227811afcaeae725cff407a964495d5d4089f160 (diff) | |
download | bcm5719-llvm-bfdd607372e900c3a05bcb3ce7a172179def8048.tar.gz bcm5719-llvm-bfdd607372e900c3a05bcb3ce7a172179def8048.zip |
When merging from a function with a prototype to a function without a
prototype, synthesize ParmVarDecls for prototype-less FunctionDecl.
llvm-svn: 64666
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/CodeGen/functions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/CodeGen/functions.c b/clang/test/CodeGen/functions.c index 60e2b6c80cf..83da64704bb 100644 --- a/clang/test/CodeGen/functions.c +++ b/clang/test/CodeGen/functions.c @@ -15,3 +15,5 @@ void test3(T f) { f(); } +int a(int); +int a() {return 1;} |