mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
* gas/sh/err-at.s: New test.
This commit is contained in:
parent
8d4d84c202
commit
a3ea91081c
@ -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
|
||||
|
10
gas/testsuite/gas/sh/err-at.s
Normal file
10
gas/testsuite/gas/sh/err-at.s
Normal 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" }
|
Loading…
Reference in New Issue
Block a user