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
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)