Skip to content

Commit 5f3c2d1

Browse files
committed
[master-next] Update a test to pass if some calls are tail calls
1 parent d023e56 commit 5f3c2d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ClangImporter/CoreGraphics_test.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ public func testRenames(transform: CGAffineTransform, context: CGContext,
100100
let _ = point.applying(transform)
101101
var rect = rect.applying(transform)
102102
let _ = size.applying(transform)
103-
// CHECK: %{{.*}} = call { double, double } @CGPointApplyAffineTransform(double %{{.*}}, double %{{.*}}, %struct.CGAffineTransform* {{.*}})
103+
// CHECK: %{{.*}} = {{(tail )?}}call { double, double } @CGPointApplyAffineTransform(double %{{.*}}, double %{{.*}}, %struct.CGAffineTransform* {{.*}})
104104
// CHECK: call void @CGRectApplyAffineTransform(%struct.CGRect* {{.*}}, %struct.CGRect* {{.*}}, %struct.CGAffineTransform* {{.*}})
105-
// CHECK: %{{.*}} = call { double, double } @CGSizeApplyAffineTransform(double %{{.*}}, double %{{.*}}, %struct.CGAffineTransform* {{.*}})
105+
// CHECK: %{{.*}} = {{(tail )?}}call { double, double } @CGSizeApplyAffineTransform(double %{{.*}}, double %{{.*}}, %struct.CGAffineTransform* {{.*}})
106106

107107
context.concatenate(transform)
108108
context.rotate(by: CGFloat.pi)

0 commit comments

Comments
 (0)