mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-01 13:26:09 +00:00

This call was made unsafe recently, but was not fixed in db48f1a1764023f8efeb055e343b967d1eb37d19 (the commit that fixed the parallel code in AsmParser.cpp). Fixes #123189
8 lines
241 B
NASM
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
|