diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-06-15 17:53:12 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-06-15 17:53:12 -0700 |
commit | 6f4252afeac7e11092601738b8f60e037245010b (patch) | |
tree | f2cec71fb33ffad470f289fe2cd49339677bf0c7 /test/utf.asm | |
parent | d710e2be268706f80e8b1e59492b443056141779 (diff) | |
download | nasm-6f4252afeac7e11092601738b8f60e037245010b.tar.gz nasm-6f4252afeac7e11092601738b8f60e037245010b.tar.bz2 nasm-6f4252afeac7e11092601738b8f60e037245010b.zip |
utf.asm: add some error cases
Add some error cases for testing
Diffstat (limited to 'test/utf.asm')
-rw-r--r-- | test/utf.asm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/utf.asm b/test/utf.asm index 3dc8410..1c8a8f0 100644 --- a/test/utf.asm +++ b/test/utf.asm @@ -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 |