1 /* { dg-do compile } */
2 /* { dg-options "-march=rv32gc_xtheadbb" { target { rv32 } } } */
3 /* { dg-options "-march=rv64gc_xtheadbb" { target { rv64 } } } */
4
5 #ifndef __riscv_xtheadbb
6 #error Feature macro not defined
7 #endif
8
9 int
10 foo (int a)
11 {
12 return a;
13 }
14