[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / loongarch-march-error.c
blob6bfaa18b05225902791b3ccc84a1488208874f30
1 // RUN: not %clang --target=loongarch64 -march=loongarch -fsyntax-only %s 2>&1 | \
2 // RUN: FileCheck -DCPU=loongarch %s
3 // RUN: not %clang --target=loongarch64 -march=LA464 -fsyntax-only %s 2>&1 | \
4 // RUN: FileCheck -DCPU=LA464 %s
6 // CHECK: error: unknown target CPU '[[CPU]]'
7 // CHECK-NEXT: note: valid target CPU values are: {{.*}}