Gardening: Migrate test suite to GH issues: CrossImport

This commit is contained in:
Anthony Latsis
2022-08-21 02:57:40 +03:00
parent b0fb7c54b2
commit d820fcf731
2 changed files with 5 additions and 3 deletions

View File

@@ -16,7 +16,8 @@ import UnitaryGoose
// expected-error@-1 {{cannot list cross-import overlays for 'UnitaryGoose':}}
// FIXME: It might be better to diagnose these errors on HorribleGoose's import
// decl, since they actually belong to HorribleGoose. (SR-12223)
// decl, since they actually belong to HorribleGoose.
// (https://github.com/apple/swift/issues/54649)
import FlockOfGoose
// expected-error@-1 {{cannot load cross-import overlay for 'HorribleGoose' and 'FlockOfGoose':}}

View File

@@ -4,6 +4,7 @@
// RUN: %target-typecheck-verify-swift -enable-cross-import-overlays -Rcross-import -I %t/include -I %t/lib/swift -F %t/Frameworks
import DeclaringLibrary
// FIXME: Similarly to horrible.swift, ideally we would emit this remark on DeclaringLibrary
// decl, since the cross-import overlay actually belongs to the DeclaringLibrary. (SR-12223)
// FIXME: Similarly to horrible.swift, ideally we would emit this remark on
// DeclaringLibrary decl, since the cross-import overlay actually belongs to
// the DeclaringLibrary. (https://github.com/apple/swift/issues/54649)
import BystandingLibrary // expected-remark {{import of 'DeclaringLibrary' and 'BystandingLibrary' triggered a cross-import of '_OverlayLibrary'}}