]> granicus.if.org Git - clang/commitdiff
Make this test portable to ABIs that use sret.
authorJohn McCall <rjmccall@apple.com>
Wed, 24 Feb 2010 08:14:27 +0000 (08:14 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 24 Feb 2010 08:14:27 +0000 (08:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97035 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/functions.c

index 1e79f0150142cbba0a34a8609a71142ae5d8dd8c..5629ef582a607b71344f72870814d9d50117d711 100644 (file)
@@ -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) {}
 }