1# REQUIRES: x86 2# RUN: mkdir -p %t 3# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %p/Inputs/libhello.s -o %t/hello.o 4# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t/main.o 5# RUN: %lld -L %t %t/main.o -lhello.o -o %t/a.out 6# RUN: llvm-nm %t/a.out | FileCheck %s 7 8# CHECK: _main 9# CHECK: _print_hello 10 11.globl _main 12_main: 13 call _print_hello 14 ret 15