[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / driverkit-framework.c
blob654526bb7ae091a38022cf81cf5fd9479767214d
1 // RUN: %clang %s -target x86_64-apple-driverkit19.0 \
2 // RUN: -isysroot %S/Inputs/DriverKit19.0.sdk -### 2>&1 \
3 // RUN: | FileCheck %s -check-prefix=CHECK-DEFAULT
5 // RUN: %clang %s -target x86_64-apple-driverkit19.0 -nodriverkitlib \
6 // RUN: -isysroot %S/Inputs/DriverKit19.0.sdk -### 2>&1 \
7 // RUN: | FileCheck %s -check-prefix=CHECK-NO-DRIVERKIT
9 int main() { return 0; }
11 // CHECK-DEFAULT: "-framework" "DriverKit"
13 // CHECK-NO-DRIVERKIT-NOT: "-framework" "DriverKit"