xref: /llvm-project/clang/test/Modules/Inputs/available-is-better/module.modulemap (revision 8b7c0398b6a30d40de29e6f982a766c5016fc544)
1*8b7c0398SSean Silva// There is some order-dependence to how clang chooses modules, so make
2*8b7c0398SSean Silva// sure that both the first and last modules here are ones that would
3*8b7c0398SSean Silva// cause a test failure if they were picked.
4*8b7c0398SSean Silva
5*8b7c0398SSean Silvamodule unavailable_before {
6*8b7c0398SSean Silva  requires nonexistent_feature
7*8b7c0398SSean Silva  header "available-is-better.h"
8*8b7c0398SSean Silva}
9*8b7c0398SSean Silva
10*8b7c0398SSean Silvamodule available {
11*8b7c0398SSean Silva  header "available-is-better.h"
12*8b7c0398SSean Silva}
13*8b7c0398SSean Silva
14*8b7c0398SSean Silvamodule unavailable_after {
15*8b7c0398SSean Silva  requires nonexistent_feature
16*8b7c0398SSean Silva  header "available-is-better.h"
17*8b7c0398SSean Silva}
18