llvm-project/lld/test/core/tent-merge.objtxt

20 lines
386 B
Plaintext

# RUN: lld -core %s %p/Inputs/tent-merge.objtxt | FileCheck %s
#
# Test that a tentative definition and a regular global are merged into
# one regular global
#
---
defined-atoms:
- name: _foo
merge: as-tentative
scope: global
type: zero-fill
size: 4
...
# CHECK: name: _foo
# CHECK-NOT: merge: as-tentative