1// REQUIRES: shell 2 3// RUN: rm -rf %t 4// RUN: mkdir -p %t/sources %t/build 5// RUN: echo "// A.h" > %t/sources/A.h 6// RUN: echo "framework module A {}" > %t/sources/module.modulemap 7// RUN: echo "framework module A.Private { umbrella header \"A.h\" }" > %t/sources/module.private.modulemap 8// RUN: cp %t/sources/module.modulemap %t/build/module.modulemap 9// RUN: cp %t/sources/module.private.modulemap %t/build/module.private.modulemap 10 11// RUN: sed -e "s:DUMMY_DIR:%t:g" %S/Inputs/all-product-headers.yaml > %t/build/all-product-headers.yaml 12// RUN: %clang_cc1 -fsyntax-only -ivfsoverlay %t/build/all-product-headers.yaml -F%t/build -fmodules -fimplicit-module-maps -Wno-private-module -fmodules-cache-path=%t/cache -x objective-c %s -verify 13 14// expected-no-diagnostics 15#import <A/A.h> 16