diff options
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/arm/backslash-at.s')
-rw-r--r-- | binutils-2.25/gas/testsuite/gas/arm/backslash-at.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/arm/backslash-at.s b/binutils-2.25/gas/testsuite/gas/arm/backslash-at.s new file mode 100644 index 00000000..4975aea6 --- /dev/null +++ b/binutils-2.25/gas/testsuite/gas/arm/backslash-at.s @@ -0,0 +1,16 @@ +@ Check that \@ is not destroyed when assembling for the ARM. + +.macro bar + mov r0, #\@ + mov r0, #\@@comment + mov r0, #\@ @comment +.endm + +.byte '\\ +.byte '\a + +foo: + bar + bar + bar + |