xref: /llvm-project/llvm/test/CodeGen/MIR/Generic/machine-metadata-err5.mir (revision e818eface8034040fbea7ce2f05761944b2d53b1)
1*e818efacSMichael Liao# RUN: not llc -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2*e818efacSMichael Liao# This test ensures that the MIR parser detects errors when parsing machine
3*e818efacSMichael Liao# metadata.
4*e818efacSMichael Liao
5*e818efacSMichael Liao--- |
6*e818efacSMichael Liao  define i32 @t0() {
7*e818efacSMichael Liao    ret i32 0
8*e818efacSMichael Liao  }
9*e818efacSMichael Liao...
10*e818efacSMichael Liao---
11*e818efacSMichael Liaoname: t0
12*e818efacSMichael LiaomachineMetadataNodes:
13*e818efacSMichael Liao  - '!9 = distinct !{!9, !7, !"Dst"'
14*e818efacSMichael Liao...
15*e818efacSMichael Liao# CHECK: [[@LINE-2]]:36: expected end of metadata node
16