llvm-project/llvm/test/Assembler/invalid-c-style-comment2.ll
Rahul Joshi b8ac87f34a
[LLVM][AsmParser] Add support for C style comments (#111554)
Add support for C style comments in LLVM assembly.

---------

Co-authored-by: Nikita Popov <github@npopov.com>
2024-11-05 13:28:22 -08:00

8 lines
166 B
LLVM

; RUN: not llvm-as --disable-output %s 2>&1 | FileCheck %s -DFILE=%s
@B = external global i32
; CHECK: [[FILE]]:[[@LINE+1]]:2: error: expected top-level entity
*/