forked from OSchip/llvm-project
12 lines
367 B
Plaintext
12 lines
367 B
Plaintext
# RUN: yaml2obj %p/Inputs/nop.obj.yaml > %t.obj
|
|
|
|
# RUN: echo "MZ Hello world" > %t.stub
|
|
# RUN: lld -flavor link /out:%t.exe /entry:start /subsystem:console \
|
|
# RUN: /stub:%t.stub -- %t.obj
|
|
# RUN: FileCheck -check-prefix=FILE %s < %t.exe
|
|
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=READOBJ %s
|
|
|
|
FILE: MZ Hello world
|
|
|
|
READOBJ: Format: COFF-i386
|