aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/functions.c
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-02-24 08:14:27 +0000
committerJohn McCall <rjmccall@apple.com>2010-02-24 08:14:27 +0000
commit1a4bb5cc1b545d7e359d20e30c0df54efd4b1b02 (patch)
treef1d3c47a5db50314bf9bf824075c6a1786dd782a /test/CodeGen/functions.c
parentb7d35893186564bf8c4e706e5d05df06b23d2dc7 (diff)
Make this test portable to ABIs that use sret.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97035 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 1e79f01501..5629ef582a 100644
--- a/test/CodeGen/functions.c
+++ b/test/CodeGen/functions.c
@@ -30,7 +30,7 @@ void f2(void) {
// CHECK: define void @f1()
void f1() {}
-// CHECK: define {{.*}} @f3()
+// CHECK: define {{.*}} @f3{{\(\)|\(.*sret.*\)}}
struct foo { int X, Y, Z; } f3() {
while (1) {}
}