[ELF] Reorder SectionBase/InputSectionBase members
[llvm-project.git] / lld / test / ELF / lto / deplibs.s
blobcc27869846363e2392b22cb2869c9c72d04a2e15
1 ; REQUIRES: x86
3 ; RUN: llvm-as %s -o %t.o
4 ; RUN: not ld.lld -shared %t.o -o /dev/null 2>&1 | FileCheck %s -DOBJ=%t.o
6 ; CHECK: error: [[OBJ]]: unable to find library from dependent library specifier: foo
7 ; CHECK: error: [[OBJ]]: unable to find library from dependent library specifier: bar
9 target triple = "x86_64-unknown-linux-gnu"
10 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
12 !llvm.dependent-libraries = !{!0, !1}
14 !0 = !{!"foo"}
15 !1 = !{!"bar"}