8 lines · c
1// RUN: not %clang --target=loongarch64 -march=loongarch -fsyntax-only %s 2>&1 | \2// RUN: FileCheck -DCPU=loongarch %s3// RUN: not %clang --target=loongarch64 -march=LA464 -fsyntax-only %s 2>&1 | \4// RUN: FileCheck -DCPU=LA464 %s5 6// CHECK: error: unknown target CPU '[[CPU]]'7// CHECK-NEXT: note: valid target CPU values are: {{.*}}8