Files
swift-mirror/test/Interop/Cxx/apinotes/Inputs/module.modulemap
Puyan Lotfi bb432e80b2 [cxx-interop] Test for apinotes fix in llvm-project.
This is the test that goes with https://github.com/apple/llvm-project/pull/4074

In the PR to apple/llvm-project we were bailing on DeclContexts that
were not isFileContext == true. This is problematic because with
C++-Interop enabled we can end up with a DeclContext that is an extern
"C". This test makes sure that the APINote is applied and that the code
from the 4074 PR no longer bails out.
2022-03-16 14:35:46 -04:00

4 lines
72 B
Plaintext

module SomeModule [extern_c] {
requires objc
header "SomeModule.h"
}