utf.asm: add some error cases

Add some error cases for testing
This commit is contained in:
H. Peter Anvin 2008-06-15 17:53:12 -07:00
parent d710e2be26
commit 6f4252afea

View File

@ -8,6 +8,8 @@
db `\u306a`
db `\xe3\x81\xaa`
dw __utf16__ "Hello, World!"
nop
mov ax,u(`a`)
@ -16,3 +18,11 @@
mov eax,u(`ab`)
mov ebx,u(`\U0001abcd`)
mov ecx,w(`\U0001abcd`)
%ifdef ERROR
dw __utf16__ 33
dw __utf16__, 46
dw __utf16__("Hello, World!",16)
dw __utf16__("Hello, World!",16
dw u(`\xff`)
%endif