llvm-project/llvm/test/Assembler/invalid-c-style-comment1.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

9 lines
231 B
LLVM

; RUN: not llvm-as --disable-output %s 2>&1 | FileCheck %s -DFILE=%s
@B = external global i32
/* /* Nested comments not supported */
; CHECK: [[FILE]]:[[@LINE+1]]:1: error: redefinition of global '@B'
@B = external global i32