[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Driver / riscv-default-features.c
blob0415d89c4e6a461ff29aa1217d7df7a25994995d
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"="+a,+c,+m,+relax,-save-restore"
5 // RV64: "target-features"="+64bit,+a,+c,+m,+relax,-save-restore"
7 // Dummy function
8 int foo(void){
9 return 3;