blob: 7b6090d89f65f93c84894e5a24e96c4bfd620578 [file] [log] [blame]
# REQUIRES: winres
# RUN: yaml2obj < %p/Inputs/ret42.yaml > %t.obj
# RUN: lld-link /out:%t.exe /entry:main %t.obj %p/Inputs/resource.res
# Check if the binary contains UTF-16LE string "Hello" copied from resource.res.
# RUN: FileCheck --check-prefix=EXE %s < %t.exe
EXE: {{H.e.l.l.o}}
# RUN: llvm-readobj -file-headers %t.exe | FileCheck --check-prefix=HEADER %s
HEADER: ResourceTableRVA: 0x1000
HEADER: ResourceTableSize: 0x88