llvm-project/llvm/test/tools/llvm-ml/bare_proc_error.asm
Eric Astor a94226f9e6
[llvm-ml] Remove unsafe getCurrentSegmentOnly() call (#123355)
This call was made unsafe recently, but was not fixed in
db48f1a1764023f8efeb055e343b967d1eb37d19 (the commit that fixed the
parallel code in AsmParser.cpp).

Fixes #123189
2025-01-24 10:30:10 -05:00

8 lines
241 B
NASM

; RUN: not llvm-ml -filetype=s %s /Fo /dev/null 2>&1 | FileCheck %s
; CHECK: :[[# @LINE+1]]:1: error: expected section directive
foo PROC
; CHECK: :[[# @LINE+1]]:6: error: expected section directive before assembly directive
ret
foo ENDP