[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / experimental-late-parse-attributes.c
blob6b54b898afa7494ca67b34da8134384df6ef555d
1 // RUN: %clang %s -c -fexperimental-late-parse-attributes 2>&1 -### | FileCheck %s -check-prefix=CHECK-ON
2 // RUN: %clang %s -c -fno-experimental-late-parse-attributes -fexperimental-late-parse-attributes 2>&1 -### | FileCheck %s -check-prefix=CHECK-ON
4 // CHECK-ON: -cc1
5 // CHECK-ON: -fexperimental-late-parse-attributes
7 // RUN: %clang %s -c 2>&1 -### | FileCheck %s -check-prefix=CHECK-OFF
8 // RUN: %clang %s -c -fno-experimental-late-parse-attributes 2>&1 -### | FileCheck %s -check-prefix=CHECK-OFF
9 // RUN: %clang %s -c -fexperimental-late-parse-attributes -fno-experimental-late-parse-attributes 2>&1 -### | FileCheck %s -check-prefix=CHECK-OFF
11 // CHECK-OFF: -cc1
12 // CHECK-OFF-NOT: -fexperimental-late-parse-attributes