bolt/deps/llvm-18.1.8/llvm/test/CodeGen/MIR/Generic/first-character-parse-error.mir
2025-02-14 19:21:04 +01:00

14 lines
342 B
YAML

@# RUN: not llc -run-pass=none %s -o - 2>&1 | FileCheck %s
# The @ before the run comment is syntactically invalid. This used to
# crash in the SourceMgr diagnostic printer because it was called
# before the LLVMContext was initialized.
# CHECK: error: YAML:1:1: Unrecognized character while tokenizing.
---
name: foo
body: |
bb.0:
...