[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / Driver / riscv-default-features.c
blob6e48f7cc37dcb0e7eab2cc8bebec7fcd2871c3b5
1 // RUN: %clang --target=riscv32-unknown-elf -S -emit-llvm %s -o - | FileCheck %s -check-prefix=RV32
2 // RUN: %clang --target=riscv64-unknown-elf -S -emit-llvm %s -o - | FileCheck %s -check-prefix=RV64
4 // RV32: "target-features"="+32bit,+a,+c,+m,+relax,
5 // RV32-SAME: -save-restore
6 // RV64: "target-features"="+64bit,+a,+c,+m,+relax,
7 // RV64-SAME: -save-restore
9 // Dummy function
10 int foo(void){
11 return 3;