2 ; RUN: llvm-as %s -o %t.o
3 ; RUN: echo "foo = bar;" > %t.script
5 ; RUN: ld.lld %t.o -o %t2 --script %t.script -save-temps
6 ; RUN: llvm-readobj --symbols %t2.lto.o | FileCheck %s
14 ; CHECK-NEXT: Binding: Global
15 ; CHECK-NEXT: Type: Function
17 ; CHECK-NEXT: Section:
21 target triple = "x86_64-unknown-linux-gnu"
22 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"