forked from OSchip/llvm-project
31 lines
595 B
Plaintext
31 lines
595 B
Plaintext
|
# RUN: lld -core %s | FileCheck %s
|
||
|
|
||
|
---
|
||
|
defined-atoms:
|
||
|
- name: f1
|
||
|
merge: as-weak
|
||
|
scope: global
|
||
|
references:
|
||
|
- kind: associate
|
||
|
target: f2
|
||
|
- name: f2
|
||
|
---
|
||
|
defined-atoms:
|
||
|
- name: f1
|
||
|
merge: as-weak
|
||
|
scope: global
|
||
|
references:
|
||
|
- kind: associate
|
||
|
target: f2
|
||
|
- name: f2
|
||
|
...
|
||
|
|
||
|
# CHECK: defined-atoms:
|
||
|
# CHECK: - name: f1
|
||
|
# CHECK: scope: global
|
||
|
# CHECK: references:
|
||
|
# CHECK: - kind: associate
|
||
|
# CHECK: target: f2
|
||
|
# CHECK: - name: f2
|
||
|
# CHECK-NOT: - name: f2
|