Initial revision
[binutils.git] / gas / testsuite / gas / sparc / mismatch.exp
blob6f89de2a2446f8f65a0164a0c737a9c9ae0365be
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*-*-*] {
12 load_lib gas-dg.exp
14 dg-init
16 dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/mism-*.s]] "" ""
18 dg-finish