bolt/deps/llvm-18.1.8/clang/test/Driver/loongarch-march-error.c
2025-02-14 19:21:04 +01:00

7 lines
340 B
C

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