| 1 |
// UNSUPPORTED: system-windows |
| 2 |
|
| 3 |
// Check that the driver passes include paths to cc1 on FreeBSD. |
| 4 |
// RUN: %clang -### %s --target=x86_64-unknown-freebsd13.1 2>&1 \ |
| 5 |
// RUN: | FileCheck %s --check-prefix=DRIVER-PASS-INCLUDES |
| 6 |
// DRIVER-PASS-INCLUDES: "-cc1" {{.*}}"-resource-dir" "[[RESOURCE:[^"]+]]" |
| 7 |
// DRIVER-PASS-INCLUDES-SAME: "-internal-isystem" "[[RESOURCE]]/include" |
| 8 |
// DRIVER-PASS-INCLUDES-SAME: {{^}} "-internal-externc-isystem" "/usr/include" |
| 9 |
|
| 10 |
// Check that the driver passes include paths to cc1 on FreeBSD in C++ mode. |
| 11 |
// RUN: %clang -### -xc++ %s --target=x86_64-unknown-freebsd13.1 2>&1 \ |
| 12 |
// RUN: | FileCheck %s --check-prefix=DRIVER-PASS-INCLUDES-CXX |
| 13 |
// DRIVER-PASS-INCLUDES-CXX: "-cc1" {{.*}}"-resource-dir" "[[RESOURCE:[^"]+]]" |
| 14 |
// DRIVER-PASS-INCLUDES-CXX-SAME: "-internal-isystem" "/usr/include/c++/v1" |
| 15 |
// DRIVER-PASS-INCLUDES-CXX-SAME: {{^}} "-internal-isystem" "[[RESOURCE]]/include" |
| 16 |
// DRIVER-PASS-INCLUDES-CXX-SAME: {{^}} "-internal-externc-isystem" "/usr/include" |