blob: fb4c01a721e7456d8fb822de5ecd66c3ecd05cf7 [file] [log] [blame]
Duncan P. N. Exon Smith8fa25a12016-08-03 18:19:43 +00001; RUN: llvm-link -S -o - %s %S/Inputs/metadata-with-global-value-operand.ll | FileCheck %s
2; This test confirms that the !{null} from the second module doesn't get mapped
3; onto the abandoned !{i1* @var} node from this module.
4
5; CHECK: @var = global
6@var = global i1 false
7
8; CHECK: !named.vars = !{!0}
9; CHECK: !named.null = !{!1}
10!named.vars = !{!0}
11
12; CHECK: !0 = !{i1* @var}
13; CHECK: !1 = !{null}
14!0 = !{i1* @var}