1 ; RUN: not llc -march=arst -o /dev/null %s 2>&1 | FileCheck -check-prefix=MARCH %s
2 ; RUN: not llc -mtriple=arst-- -o /dev/null %s 2>&1 | FileCheck -check-prefix=MTRIPLE %s
4 ; Check the error message doesn't say error twice.
6 ; MARCH: {{.*}}llc{{.*}}: error: invalid target 'arst'.{{$}}
7 ; MTRIPLE: {{.*}}llc{{.*}}: error: unable to get target for 'arst-unknown-unknown', see --version and --triple.{{$}}