[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / darwin-subframeworks.c
blob1a7a095c6429227382183f9049ba44aa52a5ed1e
1 // UNSUPPORTED: system-windows
2 // Windows is unsupported because we use the Unix path separator `\`.
4 // Add default directories before running clang to check default
5 // search paths.
6 // RUN: rm -rf %t && mkdir -p %t
7 // RUN: cp -R %S/Inputs/MacOSX15.1.sdk %t/
8 // RUN: mkdir -p %t/MacOSX15.1.sdk/System/Library/Frameworks
9 // RUN: mkdir -p %t/MacOSX15.1.sdk/System/Library/SubFrameworks
10 // RUN: mkdir -p %t/MacOSX15.1.sdk/usr/include
12 // RUN: %clang %s -target arm64-apple-darwin13.0 -isysroot %t/MacOSX15.1.sdk -E -v 2>&1 | FileCheck %s
14 // CHECK: -isysroot [[PATH:[^ ]*/MacOSX15.1.sdk]]
15 // CHECK: #include <...> search starts here:
16 // CHECK: [[PATH]]/usr/include
17 // CHECK: [[PATH]]/System/Library/Frameworks (framework directory)
18 // CHECK: [[PATH]]/System/Library/SubFrameworks (framework directory)