1# REQUIRES: x86 2# RUN: llvm-mc -triple=x86_64-windows-msvc %s -filetype=obj -o %t.obj 3# RUN: lld-link -entry:main %t.obj -out:%t.exe -verbose 2>&1 | FileCheck %s 4 5# CHECK: Selected internal 6# CHECK: Removed f2 7 8.section .text,"xr",one_only,internal 9internal: 10.globl main 11main: 12call f2 13ret 14 15.section .text,"xr",one_only,f2 16.globl f2 17f2: 18call main 19ret 20