Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / COFF / noentry.test
blob395549be04dc15be68a837374c7f4c9de3b7974e
1 # RUN: yaml2obj %p/Inputs/export.yaml -o %t.obj
2 # RUN: lld-link /out:%t.dll /dll %t.obj
3 # RUN: llvm-readobj --file-headers %t.dll | FileCheck -check-prefix=ENTRY %s
4 # RUN: lld-link /out:%t.dll /dll /noentry %t.obj
5 # RUN: llvm-readobj --file-headers %t.dll | FileCheck -check-prefix=NOENTRY %s
7 ENTRY:   AddressOfEntryPoint: 0x1000
8 NOENTRY: AddressOfEntryPoint: 0x0