blob: e6f5ff7e52e32506ba303421c810f86f27387e12 [file] [log] [blame]
# REQUIRES: x86
# RUN: mkdir -p %t
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %p/Inputs/libhello.s -o %t/hello.o
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t/main.o
# RUN: %lld -L %t %t/main.o %t/hello.o -o %t/a.out
# RUN: llvm-nm %t/a.out | FileCheck %s
# CHECK: _main
# CHECK: _print_hello
.globl _main
_main:
call _print_hello
ret