From: John McCall Date: Wed, 24 Feb 2010 08:14:27 +0000 (+0000) Subject: Make this test portable to ABIs that use sret. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a4bb5cc1b545d7e359d20e30c0df54efd4b1b02;p=clang 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 --- 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) {} }