# RUN: lld -core %s | FileCheck %s
#
# Test references referencing multiple atoms that have the same name
---
defined-atoms:
- name: foo
type: code
content: [ E8, 00, 00, 00, 00, E8, 00, 00, 00, 00 ]
references:
- offset: 1
kind: pcrel32
target: bar_1
- offset: 6
target: bar_2
- name: bar
ref-name: bar_1
scope: static
ref-name: bar_2
...
# CHECK: ...