]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/pecoff/dosstub.test
Vendor import of lld trunk r233088:
[FreeBSD/FreeBSD.git] / test / pecoff / dosstub.test
1 # RUN: yaml2obj %p/Inputs/nop.obj.yaml > %t.obj
2
3 # RUN: echo "MZ Hello world" > %t.stub
4 # RUN: lld -flavor link /out:%t.exe /entry:start /subsystem:console \
5 # RUN:   /stub:%t.stub -- %t.obj
6 # RUN: FileCheck -check-prefix=FILE %s < %t.exe
7 # RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=READOBJ %s
8
9 FILE: MZ Hello world
10
11 READOBJ: Format: COFF-i386