Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / mmix / err-ser-1.s
1 % { dg-do assemble { target mmix-*-* } }
2 % { dg-bogus "bad expression" "" { xfail mmix-*-* } 9 }
3 % { dg-bogus "bad expression" "" { xfail mmix-*-* } 10 }
4
5 % Make sure we correctly diagnose the serial-number operator.
6 % We can't stop the "bad expression" error, though; hence the "bogus" errors.
7
8 a IS 42
9 Main TETRA &a<<8 { dg-error "serial number operator is not supported" "" }
10   TETRA 3+&a<<8 { dg-error "serial number operator is not supported" "" }