forked from OSchip/llvm-project
27 lines
668 B
Plaintext
27 lines
668 B
Plaintext
# RUN: lld-core %s | FileCheck %s
|
|
|
|
#
|
|
# Test that absolute symbols with local scope do not cause name conflict
|
|
#
|
|
---
|
|
atoms:
|
|
- name: putchar
|
|
definition: absolute
|
|
value: 0xFFFF0040
|
|
scope: static
|
|
|
|
- name: putchar
|
|
definition: absolute
|
|
value: 0xFFFF0040
|
|
scope: static
|
|
...
|
|
|
|
# CHECK: ---
|
|
# CHECK: - name: putchar
|
|
# CHECK: definition: absolute
|
|
# CHECK: value: 0xffff0040
|
|
# CHECK: - name: putchar
|
|
# CHECK: definition: absolute
|
|
# CHECK: value: 0xffff0040
|
|
# CHECK: ...
|