1 # Test architecture mismatch errors.
3 # GAS issues two lines of error text for each mismatch:
5 # mm-lite.s:7: Error: Architecture mismatch on "divscc".
6 # mm-lite.s:7: (Requires sparclite; requested architecture is v8.)
8 # The suggested regexp argument to dg-error is "mismatch|<arch>".
10 if [istarget sparc*-*-*] {
16 dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/mism-*.s]] "" ""