Files
swift-mirror/test/ClangImporter/textual_headers.swift
Robert Widmann 3394c6bc29 Remove Bogus Macro Assert in LUT Building
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
2022-04-18 17:22:34 -07:00

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