17 lines · plain
1// Most likely platform specific sed differences2// UNSUPPORTED: system-windows3 4// RUN: rm -rf %t5// RUN: mkdir -p %t/sources %t/build6// RUN: echo "// A.h" > %t/sources/A.h7// RUN: echo "framework module A {}" > %t/sources/module.modulemap8// RUN: echo "framework module A.Private { umbrella header \"A.h\" }" > %t/sources/module.private.modulemap9// RUN: cp %t/sources/module.modulemap %t/build/module.modulemap10// RUN: cp %t/sources/module.private.modulemap %t/build/module.private.modulemap11 12// RUN: sed -e "s:DUMMY_DIR:%t:g" %S/Inputs/all-product-headers.yaml > %t/build/all-product-headers.yaml13// 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 -verify14 15// expected-no-diagnostics16#import <A/A.h>17