bolt/deps/llvm-18.1.8/llvm/test/Assembler/incomplete-ir-metadata-unsupported.ll
2025-02-14 19:21:04 +01:00

9 lines
202 B
LLVM

; 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}