[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / Driver / loongarch-mlsx-error.c
blobbd6b8e2718bf6086d756f673aa5b347dac3ffeba
1 // RUN: not %clang --target=loongarch64 %s -fsyntax-only -mlsx -msingle-float 2>&1 \
2 // RUN: FileCheck --check-prefix=ERROR_LSX_FPU64 %s
3 // RUN: not %clang --target=loongarch64 %s -fsyntax-only -mlsx -msoft-float 2>&1 \
4 // RUN: FileCheck --check-prefix=ERROR_LSX_FPU64 %s
5 // RUN: not %clang --target=loongarch64 %s -fsyntax-only -mlsx -mfpu=32 2>&1 \
6 // RUN: FileCheck --check-prefix=ERROR_LSX_FPU64 %s
7 // RUN: not %clang --target=loongarch64 %s -fsyntax-only -mlsx -mfpu=0 2>&1 \
8 // RUN: FileCheck --check-prefix=ERROR_LSX_FPU64 %s
9 // RUN: not %clang --target=loongarch64 %s -fsyntax-only -mlsx -mfpu=none 2>&1 \
10 // RUN: FileCheck --check-prefix=ERROR_LSX_FPU64 %s
12 // ERROR_LSX_FPU64: error: wrong fpu width; LSX depends on 64-bit FPU.