summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/functions.c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-02-16 20:58:07 +0000
committerDouglas Gregor <dgregor@apple.com>2009-02-16 20:58:07 +0000
commitbfdd607372e900c3a05bcb3ce7a172179def8048 (patch)
tree633ab8dff88d7d1c0e3077d5ae53e2c0bedf60d1 /clang/test/CodeGen/functions.c
parent227811afcaeae725cff407a964495d5d4089f160 (diff)
downloadbcm5719-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/CodeGen/functions.c')
-rw-r--r--clang/test/CodeGen/functions.c2
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;}
OpenPOWER on IntegriCloud