2 ; RUN: llvm-as %s -o %t.o
3 ; RUN: ld.lld %t.o %t.o -o %t.so -shared
4 ; RUN: llvm-readobj --symbols %t.so | FileCheck %s
9 ; CHECK-NEXT: Binding: Global
10 ; CHECK-NEXT: Type: Function
11 ; CHECK-NEXT: Other: 0
12 ; CHECK-NEXT: Section: .text
14 target triple = "x86_64-unknown-linux-gnu"
15 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
18 define void @foo() comdat {