hanchenye-llvm-project/lld/test/pecoff/resource.test

10 lines
312 B
Plaintext

# REQUIRES: winres
# RUN: yaml2obj %p/Inputs/nop.obj.yaml > %t.obj
#
# RUN: lld -flavor link /out:%t.exe /subsystem:console /entry:start /opt:noref \
# RUN: -- %t.obj %p/Inputs/resource.res
# Check if the binary contains UTF-16LE string "Hello" copied from resource.res.
# RUN: cat %t.exe | grep 'H.e.l.l.o'