diff options
Diffstat (limited to 'test/core/constants-coalesce.objtxt')
-rw-r--r-- | test/core/constants-coalesce.objtxt | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/test/core/constants-coalesce.objtxt b/test/core/constants-coalesce.objtxt index a82f68009087..1a9f1013e6ec 100644 --- a/test/core/constants-coalesce.objtxt +++ b/test/core/constants-coalesce.objtxt @@ -1,4 +1,5 @@ -# RUN: lld -core %s | FileCheck %s +# RUN: lld -core %s %p/Inputs/constants-coalesce.objtxt \ +# RUN: %p/Inputs/constants-coalesce2.objtxt | FileCheck %s # # Test that duplicate merge-by-content anonymous constants are coalesced @@ -20,25 +21,6 @@ defined-atoms: - ref-name: L1 type: constant content: [ 01, 02 ] ---- -defined-atoms: - - ref-name: L1 - type: constant - content: [ 01, 02 ] - - ref-name: L2 - type: constant - merge: by-content - content: [ 01, 02, 03, 04 ] ---- -defined-atoms: - - ref-name: L2 - type: constant - merge: by-content - content: [ 01, 23, 45, 67, 89, AB, CD, EF ] - - ref-name: L3 - type: constant - merge: by-content - content: [ 01, 02, 03 ] ... # CHECK-NOT: name: |