[PECOFF] Add a test for /noentry.

llvm-svn: 198074
This commit is contained in:
Rui Ueyama 2013-12-27 08:19:21 +00:00
parent ce2c726e99
commit c96b41c375
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
# 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