From 450da9832b31d9b2e90af7708d197e5b9e1af8c8 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Mon, 16 Feb 2009 20:58:07 +0000 Subject: 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 --- test/CodeGen/functions.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/CodeGen/functions.c') 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;} -- cgit v1.2.3-70-g09d2