forked from OSchip/llvm-project
16 lines
281 B
Plaintext
16 lines
281 B
Plaintext
|
# RUN: not llc -o - %s -run-pass=none 2>&1 | FileCheck %s
|
||
|
--- |
|
||
|
target triple="x86_64--"
|
||
|
define void @func() {
|
||
|
unreachable
|
||
|
}
|
||
|
!0 = !{}
|
||
|
...
|
||
|
---
|
||
|
name: func
|
||
|
body: |
|
||
|
bb.0:
|
||
|
; CHECK: [[@LINE+1]]:27: referenced metadata is not a DILocation
|
||
|
NOOP debug-location !0
|
||
|
...
|