14 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t3# RUN: ld.lld %t -o %tout4# RUN: llvm-nm %tout | FileCheck %s5 6# CHECK: w _start7# CHECK-NEXT: T foo8 9.global foo10.weak _start11.text12foo:13 .dc.a _start14