[OpenACC] Treat 'delete' as a valid clause during parsing in C++ mode
[llvm-project.git] / clang / test / Driver / loongarch-ias.s
blob6fec9e6e159195b52231152a41dcc4f396249fdf
1 /// This file checks options are correctly passed to cc1as for LoongArch targets.
3 /// Check `-target-abi`.
4 // RUN: %clang --target=loongarch32 -### -fintegrated-as -c %s 2>&1 | \
5 // RUN: FileCheck -DABI=ilp32d --check-prefix=ABI %s
6 // RUN: %clang --target=loongarch32 -mabi=ilp32d -### -fintegrated-as -c %s 2>&1 | \
7 // RUN: FileCheck -DABI=ilp32d --check-prefix=ABI %s
8 // RUN: %clang --target=loongarch32 -mabi=ilp32f -### -fintegrated-as -c %s 2>&1 | \
9 // RUN: FileCheck -DABI=ilp32f --check-prefix=ABI %s
10 // RUN: %clang --target=loongarch32 -mabi=ilp32s -### -fintegrated-as -c %s 2>&1 | \
11 // RUN: FileCheck -DABI=ilp32s --check-prefix=ABI %s
12 // RUN: %clang --target=loongarch64 -### -fintegrated-as -c %s 2>&1 | \
13 // RUN: FileCheck -DABI=lp64d --check-prefix=ABI %s
14 // RUN: %clang --target=loongarch64 -mabi=lp64d -### -fintegrated-as -c %s 2>&1 | \
15 // RUN: FileCheck -DABI=lp64d --check-prefix=ABI %s
16 // RUN: %clang --target=loongarch64 -mabi=lp64f -### -fintegrated-as -c %s 2>&1 | \
17 // RUN: FileCheck -DABI=lp64f --check-prefix=ABI %s
18 // RUN: %clang --target=loongarch64 -mabi=lp64s -### -fintegrated-as -c %s 2>&1 | \
19 // RUN: FileCheck -DABI=lp64s --check-prefix=ABI %s
21 // ALL: -cc1as
23 // ABI: "-target-abi" "[[ABI]]"