diff --git a/lld/test/pecoff/noentry.test b/lld/test/pecoff/noentry.test new file mode 100644 index 000000000000..ee5d0cb5d651 --- /dev/null +++ b/lld/test/pecoff/noentry.test @@ -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