xref: /llvm-project/llvm/test/tools/llvm-ml/strings_errors.asm (revision 8fee2ee9a689276eaea61d4c3f124aa80a81b6f7)
1*8fee2ee9SEric Astor; RUN: not llvm-ml -m64 -filetype=s %s /Fo /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:
2*8fee2ee9SEric Astor
3*8fee2ee9SEric Astor.code
4*8fee2ee9SEric Astor
5*8fee2ee9SEric Astoroversize_string_test PROC
6*8fee2ee9SEric Astor
7*8fee2ee9SEric Astor  mov rax, "abcdefghi"
8*8fee2ee9SEric Astor  mov rax, 'abcdefghi'
9*8fee2ee9SEric Astor; CHECK: error: literal value out of range
10*8fee2ee9SEric Astor; CHECK: error: literal value out of range
11*8fee2ee9SEric Astor
12*8fee2ee9SEric Astor  ret
13*8fee2ee9SEric Astoroversize_string_test ENDP
14*8fee2ee9SEric Astor
15*8fee2ee9SEric Astorend
16