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' 4 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' 8