llvm-project/llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/distinct.ll

10 lines
279 B
LLVM

; RUN: not opt -S %s -experimental-assignment-tracking 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()