[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / MC / COFF / const-gv-with-rel-init.ll
blob3dbc781655272a6796732c5530b47435b68e9de7
1 ; RUN: llc -mtriple x86_64-pc-windows-msvc < %s | FileCheck %s
3 define void @f() {
4   ret void
7 @ptr = constant ptr @f, section ".CRT$XLB", align 8
8 ; CHECK:  .section  .CRT$XLB,"dr"
10 @weak_array = weak_odr unnamed_addr constant [1 x ptr] [ptr @f]
11 ; CHECK:  .section  .rdata,"dr"