brintos

brintos / llvm-project-archived public Read only

0
0
Text · 667 B · be5f9a2 Raw
14 lines · plain
1# RUN: llvm-cvtres /out:%t_resource.obj %S/Inputs/resource.res2# RUN: llvm-cvtres /out:%t_id.obj %S/Inputs/id.res3# RUN: rm -f %t.exe4# RUN: not lld-link /out:%t.exe /dll /noentry %t_id.obj %t_resource.obj 2>&1 | \5# RUN:     FileCheck --check-prefix=TWOOBJ %s6# RUN: not test -f %t.exe7 8TWOOBJ: error: {{.*}}_resource.obj: more than one resource obj file not allowed, already got {{.*}}_id.obj9 10# RUN: not lld-link /out:%t.exe /dll /noentry %S/Inputs/id.res %t_resource.obj 2>&1 | \11# RUN:     FileCheck --check-prefix=OBJRES %s12 13OBJRES: error: internal .obj file created from .res files: more than one resource obj file not allowed, already got {{.*}}_resource.obj14