[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / loongarch-march-error.c
blobf447de655bdb870d46f879ab5bdaee1890d6070f
1 // RUN: not %clang --target=loongarch64 -march=loongarch -fsyntax-only %s 2>&1 | \
2 // RUN: FileCheck --check-prefix=LOONGARCH %s
3 // LOONGARCH: error: invalid arch name '-march=loongarch'
5 // RUN: not %clang --target=loongarch64 -march=LA464 -fsyntax-only %s 2>&1 | \
6 // RUN: FileCheck --check-prefix=LA464-UPPER %s
7 // LA464-UPPER: error: invalid arch name '-march=LA464'