2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %S/Inputs/lazy-symbols.s -o %t1
3 # RUN: llvm-ar rcs %tar %t1
4 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux /dev/null -o %t2
5 # RUN: ld.lld %t2 %tar --script %s -o %tout
6 # RUN: llvm-readobj -symbols %tout | FileCheck %s
10 # This test is to ensure a linker script can define a symbol which have the same
11 # name as a lazy symbol.
14 # CHECK-NEXT: Value: 0x1