mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Gardening: Migrate test suite to GH issues: CrossImport
This commit is contained in:
@@ -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':}}
|
||||
|
||||
@@ -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'}}
|
||||
|
||||
Reference in New Issue
Block a user