Most of these tests do not actually have a shell requirement. The shell requirement ended up in the test either from cargo culting (from what I can tell) or because the test authors actually meant to mark Windows as unsupported. This prevents enablement of lit's internal shell within clang. Towards #102699. Reviewers: rnk, efriedma-quic, Sirraide, petrhosek, ilovepi Reviewed By: ilovepi Pull Request: https://github.com/llvm/llvm-project/pull/156905
17 lines
846 B
Objective-C
17 lines
846 B
Objective-C
// Most likely platform specific sed differences
|
|
// UNSUPPORTED: system-windows
|
|
|
|
// RUN: rm -rf %t
|
|
// RUN: mkdir -p %t/sources %t/build
|
|
// RUN: echo "// A.h" > %t/sources/A.h
|
|
// RUN: echo "framework module A {}" > %t/sources/module.modulemap
|
|
// RUN: echo "framework module A.Private { umbrella header \"A.h\" }" > %t/sources/module.private.modulemap
|
|
// RUN: cp %t/sources/module.modulemap %t/build/module.modulemap
|
|
// RUN: cp %t/sources/module.private.modulemap %t/build/module.private.modulemap
|
|
|
|
// RUN: sed -e "s:DUMMY_DIR:%t:g" %S/Inputs/all-product-headers.yaml > %t/build/all-product-headers.yaml
|
|
// 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
|
|
|
|
// expected-no-diagnostics
|
|
#import <A/A.h>
|