2 ; This test checks that symbols which are specified in "-u" switches
3 ; are kept over LTO if we link an executable.
4 ; RUN: llvm-as %s -o %t.o
5 ; RUN: ld.lld %t.o -o %tout -u foo
6 ; RUN: llvm-nm %tout | FileCheck %s
10 target triple = "x86_64-unknown-linux-gnu"
11 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
17 define void @_start() {