summaryrefslogtreecommitdiffstats
path: root/lld/test/pecoff/resource.test
blob: 243d02b6a810cd3506ee0dd97081d24c12060011 (plain)
1
2
3
4
5
6
7
8
9
# 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'
OpenPOWER on IntegriCloud