1 ; 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 !{ptr @var} node from this module.
8 ; CHECK: !named.vars = !{!0}
9 ; CHECK: !named.null = !{!1}
12 ; CHECK: !0 = !{ptr @var}