aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/distinct.ll
blob: 8b8496d0f9783db38692e53fa58baab170659b7b (plain)
1
2
3
4
5
6
7
8
9
10
; 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}