aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/kr-call.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/kr-call.c')
-rw-r--r--test/CodeGen/kr-call.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CodeGen/kr-call.c b/test/CodeGen/kr-call.c
index 97068bce0c..ea4e3d3d70 100644
--- a/test/CodeGen/kr-call.c
+++ b/test/CodeGen/kr-call.c
@@ -2,11 +2,10 @@
// Test that we don't crash. The s390x-unknown-linux target happens
// to need to set a sext argument attribute on this call, and we need
-// to make sure that rewriting it correctly drops that attribute when
-// also dropping the spurious argument.
+// to make sure that rewriting it correctly keeps that attribute.
void test0_helper();
void test0() {
- // CHECK: call void @test0_helper()
+ // CHECK: call void bitcast (void ()* @test0_helper to void (i32)*)(i32 signext 1)
test0_helper(1);
}
void test0_helper() {}