mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 13:27:26 +08:00
* gas/sh/err-at.s: New test.
This commit is contained in:
@ -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>
|
2001-12-18 Hans-Peter Nilsson <hp@axis.com>
|
||||||
|
|
||||||
* gas/cris/rd-dw2-10.d: Tweak for change in gas dwarf2 line number
|
* 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" }
|
Reference in New Issue
Block a user