brintos

brintos / llvm-project-archived public Read only

0
0
Text · 493 B · 0b53f09 Raw
17 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -triple=x86_64-win32 %s -filetype=obj -o %t.main.obj4# RUN: llvm-mc -triple=x86_64-win32 %p/Inputs/otherFunc.s -filetype=obj -o %t.other.obj5# RUN: llvm-ar rcs %t.other.lib %t.other.obj6# RUN: env LLD_IN_TEST=1 not lld-link -out:%t.exe -entry:main %t.main.obj \7# RUN:     %p/Inputs/std64.lib %t.other.lib -opt:noref 2>&1 | FileCheck %s8# CHECK: MessageBoxA was replaced9 10.global main11.text12main:13  callq MessageBoxA14  callq ExitProcess15  callq otherFunc16  ret17