1:# RUN: not llc -run-pass=none %s -o - 2>&1 | FileCheck %s
2
3# The : before the run comment is syntactically invalid. This used to
4# crash in the SourceMgr diagnostic printer because it was called
5# before the LLVMContext was initialized.
6
7# CHECK: error: YAML:1:1: Unrecognized character while tokenizing.
8
9---
10name: foo
11body: |
12  bb.0:
13
14...
15