Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / weak-entry.s
blob427230ab82c68d923ec3ab44dacf6383c72aa521
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
3 # RUN: ld.lld %t -o %tout
4 # RUN: llvm-nm %tout | FileCheck %s
6 # CHECK: w _start
7 # CHECK-NEXT: T foo
9 .global foo
10 .weak _start
11 .text
12 foo:
13 .dc.a _start