llvm-project/llvm/test/tools/llvm-ml/strings_errors.asm
Eric Astor 3c657ceef9
[ms] [llvm-ml] Add llvm-ml64 alias (#131854)
Rather than requiring users to pass `-m64` to the `llvm-ml` driver to
get 64-bit behavior, we add the `llvm-ml64` alias, matching the behavior
of `ML.EXE` and `ML64.EXE`.

The original flavor/bitness flags still work, but the alias should make
some workflows easier.

NOTE: The logic for this already existed in the code; we're just finally
adding the build/install instructions to match.
2025-03-19 15:02:17 -04:00

16 lines
303 B
NASM

; RUN: not llvm-ml64 -filetype=s %s /Fo /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:
.code
oversize_string_test PROC
mov rax, "abcdefghi"
mov rax, 'abcdefghi'
; CHECK: error: literal value out of range
; CHECK: error: literal value out of range
ret
oversize_string_test ENDP
end