1 /* { dg-do compile } */
2 /* { dg-options "-march=rv32i -march=rv32im_sx_unexpectedstring -mabi=ilp32" } */
3 int foo()
4 {
5 }
6 /* { dg-error "unexpected ISA string at end:" "" { target { "riscv*-*-*" } } 0 } */