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