mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Unresolved imports all have the "same" ModuleDecl: nullptr. But that's not really an inconsistency, and even if there *is* a true inconsistency among unresolved imports, it can be dealt with when the developer fixes their search paths. (Or the imports. Whichever is wrong.) rdar://problem/52943397
10 lines
352 B
Swift
10 lines
352 B
Swift
// Just check that we don't crash (rdar://problem/52943397)
|
|
|
|
// RUN: not %target-swift-frontend -typecheck %s
|
|
// RUN: not %target-swift-frontend -typecheck -show-diagnostics-after-fatal %s
|
|
|
|
@_implementationOnly import Swift
|
|
import ThisModuleDoesNotExist
|
|
@_implementationOnly import ThisModuleDoesNotExist
|
|
@_implementationOnly import NeitherDoesThisOne
|