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