forked from OSchip/llvm-project
11 lines
362 B
Plaintext
11 lines
362 B
Plaintext
# RUN: yaml2obj %p/Inputs/nop.obj.yaml > %t.obj
|
|
# RUN: lld -flavor link /out:%t.exe /noentry /dll -- %t.obj
|
|
# RUN: llvm-readobj -file-headers %t.exe | FileCheck %s
|
|
|
|
CHECK: AddressOfEntryPoint: 0x0
|
|
|
|
# RUN: not lld -flavor link /out:%t.exe /noentry -- %t.obj >& %t.log
|
|
# RUN: FileCheck --check-prefix=ERROR %s < %t.log
|
|
|
|
ERROR: /noentry must be specified with /dll
|