1 # RUN: yaml2obj %p/Inputs/machine-type-unknown.obj.yaml > %t1.obj
2 # RUN: yaml2obj %p/Inputs/hello.obj.yaml > %t2.obj
3 # RUN: yaml2obj %p/Inputs/hello64.obj.yaml > %t3.obj
5 # RUN: lld -flavor link /out:%t.exe /subsystem:console /force -- %t1.obj %t2.obj
6 # RUN: llvm-readobj %t.exe | FileCheck -check-prefix=X86 %s
10 # RUN: lld -flavor link /out:%t.exe /subsystem:console /force -- %t1.obj %t3.obj
11 # RUN: llvm-readobj %t.exe | FileCheck -check-prefix=X64 %s