1 # RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj -o %t %s
2 # RUN: llvm-jitlink -noexec %t -show-graphs='.*' | FileCheck %s
4 # CHECK: linkage: weak, scope: local, live - _foo_weak
6 # _foo_weak is weak and local. Make sure we can link it.
7 .section __TEXT,__text,regular,pure_instructions
8 .weak_definition _foo_weak
18 .subsections_via_symbols