[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / csky-arch-error.c
blob22d3640cdd96448036b1c5ee8d266b6502231ab5
1 // RUN: not %clang -target csky-unknown-elf -march=csky %s \
2 // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=CSKY %s
3 // CSKY: error: invalid arch name '-march=csky'
5 // RUN: not %clang -target csky-unknown-elf -march=CK810 %s \
6 // RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=CSKY-UPPER %s
7 // CSKY-UPPER: error: invalid arch name '-march=CK810'