bolt/deps/llvm-18.1.8/llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/distinct.ll

11 lines
306 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: not opt -S %s 2>&1 \
; RUN: | FileCheck %s
;; Check that badly formed assignment tracking metadata is caught either
;; while parsing or by the verifier.
; CHECK: error: missing 'distinct', required for !DIAssignID()
!1 = !DIAssignID()
!1000 = !{i32 7, !"debug-info-assignment-tracking", i1 true}