From 70e7780eb329124521c831a04a8cf4930902ff44 Mon Sep 17 00:00:00 2001 From: Egor Zhdan Date: Mon, 13 Oct 2025 17:22:27 +0100 Subject: [PATCH] [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`. --- test/Interop/Cxx/foreign-reference/array-of-classes.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Interop/Cxx/foreign-reference/array-of-classes.swift b/test/Interop/Cxx/foreign-reference/array-of-classes.swift index 17f135971f49c..ad8341d8ebfc0 100644 --- a/test/Interop/Cxx/foreign-reference/array-of-classes.swift +++ b/test/Interop/Cxx/foreign-reference/array-of-classes.swift @@ -61,7 +61,7 @@ func go() { var loopCount = 0 for it in y { -// CHECK: RefType() +// CHECK: {{RefType()|(Foreign Reference Type)}} print(it) loopCount += 1 }