summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mmix/err-byte1.s
blob: 28ad78e1d5917cfa0803706141f9f7a4c0fdbd69 (plain)
1
2
3
4
5
6
7
8
9
10
11
% { dg-do assemble { target mmix-*-* } }
% { dg-error "unterminated string" "" { target mmix-*-* } 10 }
% { dg-bogus "end of file" "" { xfail mmix-*-* } 0 }

# Note that the error is detected in the preformatter, before the text
# gets to the assembler.  It also gets confused about the unterminated
# string.  Well, at least we get error messages for it, so no worries.

Main SWYM 0,0,0
 BYTE 2,"no end
 BYTE 0