Files
swift-mirror/validation-test/NameBinding/inconsistent-implementation-only-errors.swift
Jordan Rose d71790b706 Ignore unresolved imports in @_implementationOnly consistency checking (#26255)
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
2019-07-22 09:14:26 -07:00

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