[clang-repl] Lay the foundation of pretty printing for C. (#89811)
[llvm-project.git] / clang / test / Driver / riscv-default-features.c
blob4c3883c1cc1184d0ca65f651524d9905119fb337
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 // RV64: "target-features"="+64bit,+a,+c,+m,+relax,
7 // Dummy function
8 int foo(void){
9 return 3;