[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / no-action.c
blobbec5960d02eac086db865d7c04a129bc75e9f874
1 // RUN: %clang --target=aarch64-none-gnu --verbose -mcpu= -march= 2>&1 | FileCheck %s --check-prefix=WARNING
2 // RUN: %clang --target=aarch64-none-gnu -### -mcpu= -march= 2>&1 | FileCheck %s --check-prefix=WARNING
4 // RUN: %clang --target=x86_64-unknown-linux-gnu --verbose -mcpu= -march= 2>&1 | FileCheck %s --check-prefix=WARNING
5 // RUN: %clang --target=x86_64-unknown-linux-gnu -### -mcpu= -march= 2>&1 | FileCheck %s --check-prefix=WARNING
7 /// In situation when there is no compilation/linking clang should not emit error
8 /// about target specific options, but just warn that are not used.
9 WARNING: warning: argument unused during compilation
10 WARNING: warning: argument unused during compilation