You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
449 B
12 lines
449 B
4 months ago
|
// REQUIRES: shell
|
||
|
// RUN: rm -rf %t
|
||
|
// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t \
|
||
|
// RUN: -F%S/Inputs/implicit-private-without-public \
|
||
|
// RUN: -fsyntax-only %s -verify
|
||
|
|
||
|
@import Foo_Private;
|
||
|
|
||
|
// Private module map without a public one isn't supported for deprecated module map locations.
|
||
|
@import DeprecatedModuleMapLocation_Private;
|
||
|
// expected-error@-1{{module 'DeprecatedModuleMapLocation_Private' not found}}
|