summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/utf.asm10
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