mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 04:09:45 +00:00
13d5c58951
Instead of crashing, give a nice error. As a drive-by, fix the location associated with the errors for unresolved metadata (the location was off by one token). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265507 91177308-0d34-0410-b5e6-96231b3b80d8
6 lines
154 B
LLVM
6 lines
154 B
LLVM
; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
|
|
!named = !{!0}
|
|
|
|
; CHECK: [[@LINE+1]]:13: error: use of undefined metadata '!1'
|
|
!0 = !{!0, !1}
|