1 ; RUN: llvm-link %s %S/Inputs/unique-fwd-decl-order.ll -S -o - | FileCheck %s
2 ; RUN: llvm-link %S/Inputs/unique-fwd-decl-order.ll %s -S -o - | FileCheck %s
4 ; This test exercises MDNode hashing. For the nodes to be correctly uniqued,
5 ; the hash of a to-be-created MDNode has to match the hash of an
6 ; operand-just-changed MDNode (with the same operands).
8 ; Note that these two assembly files number the nodes identically, even though
9 ; the nodes are in a different order. This is for the reader's convenience.
11 ; CHECK: !named = !{!0, !0}