2 ## When a common symbol is merged with a shared symbol, pick the larger st_size.
4 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
5 # RUN: echo '.globl com; .comm com, 16' | llvm-mc -filetype=obj -triple=x86_64 - -o %t1.o
6 # RUN: ld.lld -shared %t1.o -o %t1.so
8 # RUN: ld.lld %t.o %t1.so -o %t
9 # RUN: llvm-readelf -s %t | FileCheck %s
10 # RUN: ld.lld %t1.so %t.o -o %t
11 # RUN: llvm-readelf -s %t | FileCheck %s
13 # CHECK: 16 OBJECT GLOBAL DEFAULT [[#]] com