Skip to content

Commit a2e930e

Browse files
committed
Make test tolerant of different types on different platforms
1 parent 0e89791 commit a2e930e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/SILOptimizer/assemblyvision_remark/basic.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,9 @@ func simpleInOut() -> Klass {
309309
@inline(never)
310310
@_semantics("optimize.sil.specialize.generic.size.never")
311311
public func use<T>(_ t: inout T) { // expected-note @:22 {{from location 't'}}
312-
print(t); // expected-remark @:11 {{heap allocated ref of type '_ContiguousArrayStorage<Any>'}}
312+
print(t); // expected-remark @:11 {{heap allocated ref of type}}
313313
// expected-remark @-1:11 {{Memory copy of value with type 'T'}}
314-
// expected-remark @-2:12 {{release of type 'Builtin.BridgeObject'}}
314+
// expected-remark @-2:12 {{release of type}}
315315
}
316316

317317
@inline(never)

0 commit comments

Comments
 (0)