blob: 648ee94e140ffc6284ccd85232067e1b59548e6e [file] [log] [blame]
! { 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" }