llvm-project/llvm/test/tools/llvm-ml/no_section_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

5 lines
191 B
NASM

; RUN: not llvm-ml -filetype=s %s /Fo /dev/null 2>&1 | FileCheck %s
; CHECK: :[[# @LINE + 1]]:6: error: expected section directive before assembly directive in 'BYTE' directive
BYTE 2, 3, 4