blob: d02b88c5680b2f933bf5fb5fc4a10fba722f31cb [file] [edit]
# RUN: not llc -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
# This test ensures that comments cannot cross machine metadata list item
# boundaries.
--- |
define i32 @t0() {
ret i32 0
}
...
---
name: t0
machineMetadataNodes:
- '!9 = !{} /*'
- '*/ !10 = !{}'
...
# CHECK: [[@LINE-3]]:{{[0-9]+}}: expected end of metadata definition