llvm-project/lld/test/core/weak-coalesce.objtxt

17 lines
339 B
Plaintext
Raw Normal View History

# RUN: lld -core %s %p/Inputs/weak-coalesce.objtxt \
# RUN: %p/Inputs/weak-coalesce2.objtxt | FileCheck %s
---
defined-atoms:
- name: _foo
merge: as-weak
scope: global
type: data
...
# CHECK: name: _foo
# CHECK-NOT: merge: as-weak
# CHECK-NOT: name: _foo
# CHECK: ...