Home | History | Annotate | Download | only in available-is-better
      1 // There is some order-dependence to how clang chooses modules, so make
      2 // sure that both the first and last modules here are ones that would
      3 // cause a test failure if they were picked.
      4 
      5 module unavailable_before {
      6   requires nonexistent_feature
      7   header "available-is-better.h"
      8 }
      9 
     10 module available {
     11   header "available-is-better.h"
     12 }
     13 
     14 module unavailable_after {
     15   requires nonexistent_feature
     16   header "available-is-better.h"
     17 }
     18