* gas/sh/err-at.s: New test.

This commit is contained in:
Alexandre Oliva 2001-12-20 17:28:20 +00:00
parent 8d4d84c202
commit a3ea91081c
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-12-20 Alexandre Oliva <aoliva@redhat.com>
* gas/sh/err-at.s: New test.
2001-12-18 Hans-Peter Nilsson <hp@axis.com>
* gas/cris/rd-dw2-10.d: Tweak for change in gas dwarf2 line number

View File

@ -0,0 +1,10 @@
! { dg-do assemble }
! Make sure we reject the invalid uses below:
start:
mov.l r1,@r0 ! ok
mov.l r1,@(r0) ! { dg-error "syntax error" }
mov.l r1,@(r0,) ! { dg-error "syntax error" }
mov.l r1,@(r0,r0) ! ok
mov.l r1,@(r0,r1) ! ok
mov.l r1,@(r1,r0) ! { dg-error "must be" }