aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/riscv/attribute-9.c
blob: 670944a1cbefa71f61a21cb7a588055a9ccd5369 (plain)
1
2
3
4
5
6
/* { dg-do compile } */
/* { dg-options "-O -mriscv-attribute -march=rv32i2p0xbar_sabc_sxfoo -mabi=ilp32e" } */
int foo()
{
}
/* { dg-final { scan-assembler ".attribute arch, \"rv32i2p0_xbar2p0_sabc2p0_sxfoo2p0\"" } } */