aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Assembler/incomplete-ir-metadata-unsupported.ll
blob: e320472921ed9c9ad946a540aceabeda99030af7 (plain)
1
2
3
4
5
6
7
8
9
; RUN: not llvm-as -allow-incomplete-ir < %s 2>&1 | FileCheck %s

; CHECK: error: use of undefined metadata '!1'
define void @test(ptr %p) {
  %v = load i8, ptr %p, !noalias !0
  ret void
}

!0 = !{!1}