[NFC] Add two tests for C++ modules
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>
Thu, 16 Feb 2023 08:24:37 +0000 (16:24 +0800)
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>
Thu, 16 Feb 2023 09:02:04 +0000 (17:02 +0800)
commitf8d5f0e53b04040cebbba639530133b261a4432f
tree74a6e5192c1bb5cf4de1d6c9d3e2d04fb1602590
parent4469ec1d196ff737e9e18320a124023bb420dfed
[NFC] Add two tests for C++ modules

One test for checking the decls in language linkage shouldn't be
discarded and can be mangled correctly.

Another one for checking we can't export again in an export decl.
clang/test/Modules/export-in-another-export.cppm [new file with mode: 0644]
clang/test/Modules/language-linkage.cppm [new file with mode: 0644]