xref: /llvm-project/llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/distinct.ll (revision 4ece50737d5385fb80cfa23f5297d1111f8eed39)
1; RUN: not opt -S %s 2>&1 \
2; RUN: | FileCheck %s
3
4;; Check that badly formed assignment tracking metadata is caught either
5;; while parsing or by the verifier.
6
7; CHECK: error: missing 'distinct', required for !DIAssignID()
8
9!1 = !DIAssignID()
10!1000 = !{i32 7, !"debug-info-assignment-tracking", i1 true}
11