Volodymyr Sapsai | 4069dd1 | 2020-02-27 15:51:24 -0800 | [diff] [blame^] | 1 | // REQUIRES: shell |
| 2 | // RUN: rm -rf %t |
| 3 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t \ |
| 4 | // RUN: -F%S/Inputs/implicit-private-without-public \ |
| 5 | // RUN: -fsyntax-only %s -verify |
| 6 | |
| 7 | @import Foo_Private; |
| 8 | |
| 9 | // Private module map without a public one isn't supported for deprecated module map locations. |
| 10 | @import DeprecatedModuleMapLocation_Private; |
| 11 | // expected-error@-1{{module 'DeprecatedModuleMapLocation_Private' not found}} |