aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/functions.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-05-05 06:16:31 +0000
committerChris Lattner <sabre@nondot.org>2009-05-05 06:16:31 +0000
commitbdb0132722082886558f31eccdba06ae1852c0ee (patch)
tree33deca8104f085ef2731a9e4b355ab7350112582 /test/CodeGen/functions.c
parentd37d9b5bf9dd5addf6d8d3b20c4d828218c99d23 (diff)
When defining a function whose type has no prototype, make an effort
to go back and clean up existing uses of the bitcasted function. This is not just an optimization: it is required for correctness to get always inline functions to work, see testcases in function-attributes.c. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/functions.c')
-rw-r--r--test/CodeGen/functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/functions.c b/test/CodeGen/functions.c
index 55f580b303..985599216e 100644
--- a/test/CodeGen/functions.c
+++ b/test/CodeGen/functions.c
@@ -23,7 +23,7 @@ int a() {return 1;}
void f0() {}
void f1();
-// RUN: grep 'call void (...)\* bitcast (void ()\* @f1' %t &&
+// RUN: grep 'call void @f1()' %t &&
void f2(void) {
f1(1, 2, 3);
}