xref: /llvm-project/clang/test/CodeGen/RISCV/riscv32-ilp32e-error.c (revision 3ac9fe69f70a2b3541266daedbaaa7dc9c007a2a)
1 // RUN: not %clang_cc1 -triple riscv32 -target-feature +d -emit-llvm -target-abi ilp32e %s 2>&1 \
2 // RUN:     | FileCheck -check-prefix=ILP32E-WITH-FD %s
3 
4 // ILP32E-WITH-FD: error: invalid feature combination: ILP32E cannot be used with the D ISA extension
5