| 1 |
// Most likely platform specific sed differences |
| 2 |
// UNSUPPORTED: system-windows |
| 3 |
|
| 4 |
// RUN: rm -rf %t |
| 5 |
// RUN: mkdir -p %t/sources %t/build |
| 6 |
// RUN: echo "// A.h" > %t/sources/A.h |
| 7 |
// RUN: echo "framework module A {}" > %t/sources/module.modulemap |
| 8 |
// RUN: echo "framework module A.Private { umbrella header \"A.h\" }" > %t/sources/module.private.modulemap |
| 9 |
// RUN: cp %t/sources/module.modulemap %t/build/module.modulemap |
| 10 |
// RUN: cp %t/sources/module.private.modulemap %t/build/module.private.modulemap |
| 11 |
|
| 12 |
// RUN: sed -e "s:DUMMY_DIR:%t:g" %S/Inputs/all-product-headers.yaml > %t/build/all-product-headers.yaml |
| 13 |
// 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 |
| 14 |
|
| 15 |
// expected-no-diagnostics |
| 16 |
#import <A/A.h> |