Skip to content

Commit 70e7780

Browse files
committed
[cxx-interop] Adjust expectations in a test
Printing an object of a foreign reference type is only supported properly with a new runtime and compiler. When running the tests, we might be testing with an older runtime. Printing is tested separately in `print-reference.swift`.
1 parent 16f1476 commit 70e7780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Interop/Cxx/foreign-reference/array-of-classes.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func go() {
6161

6262
var loopCount = 0
6363
for it in y {
64-
// CHECK: RefType()
64+
// CHECK: {{RefType()|(Foreign Reference Type)}}
6565
print(it)
6666
loopCount += 1
6767
}

0 commit comments

Comments
 (0)