mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This assertion assumes that only visibility directives for builtin-in macros find their way here. However, the presence of textual headers in modules means any macro directive can wind up here since clang will report that it is currently not building a module. It's been half a decade since this code did anything useful with macro directives in textual headers, so just leave things be. rdar://91768988
3 lines
155 B
Swift
3 lines
155 B
Swift
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -enable-objc-interop -typecheck -F %S/Inputs/custom-modules %s -verify
|
|
import TextualHeaders
|