Add test for issue 60486
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>
Fri, 24 Feb 2023 06:27:51 +0000 (14:27 +0800)
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>
Fri, 24 Feb 2023 06:32:05 +0000 (14:32 +0800)
commit255b2d8162ead0ad444698506f97484572e574b1
treedfd8280ea5e384b129f5e8bdd2cd9d3e6e9ea94d
parentab2b73dd480eaa9591b4e40cda58db5e4150d67a
Add test for issue 60486

Close https://github.com/llvm/llvm-project/issues/60486.

When I look back at this problem again, it only appears if we specify it
with `-fmodule-file=<BMI-path>`. And it disappears after we specify it
as `-fmodule-file=<module-name>=<BMI-path>`. Since we want to depreacate
the form `-fmodule-file=<BMI-path>`, we can think the problem goes
away.
clang/test/Modules/pr60486.cppm [new file with mode: 0644]