blob: e4920bcc7ec6f8e3860c650c220e2acb0ce9ee46 [file] [log] [blame]
Volodymyr Sapsai4069dd12020-02-27 15:51:24 -08001// 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}}