aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/MIR/Generic/machine-metadata-err5.mir
blob: 68ab8bc58d86430d4494e037c20edb06f998ff38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# RUN: not llc -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
# This test ensures that the MIR parser detects errors when parsing machine
# metadata.

--- |
  define i32 @t0() {
    ret i32 0
  }
...
---
name: t0
machineMetadataNodes:
  - '!9 = distinct !{!9, !7, !"Dst"'
...
# CHECK: [[@LINE-2]]:36: expected end of metadata node