2 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
3 # RUN: echo '.section .foo,"aG",@progbits,zz,comdat; .weak foo; foo:' | \
4 # RUN: llvm-mc -filetype=obj -triple=x86_64 - -o %t1.o
5 # RUN: ld.lld %t.o %t1.o -o %t
6 # RUN: llvm-readelf -s %t | FileCheck %s
8 # CHECK: NOTYPE WEAK DEFAULT UND foo
14 .section .foo,"aG",@progbits,zz,comdat