1 # RUN: lld -core %s | FileCheck %s
4 # Test that duplicate merge-by-content anonymous constants are coalesced
5 # and non-mergable duplicate constants are not coalesced.
13 content: [ 01, 02, 03, 04 ]
18 content: [ 01, 23, 45, 67, 89, AB, CD, EF ]
31 content: [ 01, 02, 03, 04 ]
37 content: [ 01, 23, 45, 67, 89, AB, CD, EF ]
41 content: [ 01, 02, 03 ]
45 # CHECK: type: constant
46 # CHECK: content: [ 01, 02, 03, 04 ]
47 # CHECK: merge: by-content
48 # CHECK: type: constant
49 # CHECK: content: [ 01, 23, 45, 67, 89, AB, CD, EF ]
50 # CHECK: merge: by-content
51 # CHECK: type: constant
52 # CHECK: content: [ 01, 02 ]
53 # CHECK: type: constant
54 # CHECK: content: [ 01, 02 ]
55 # CHECK: type: constant
56 # CHECK: content: [ 01, 02, 03 ]
57 # CHECK: merge: by-content