Bring r226038 back.
[oota-llvm.git] / test / MC / COFF / const-gv-with-rel-init.ll
1 ; RUN: llc -mtriple x86_64-pc-windows-msvc < %s | FileCheck %s
2
3 define void @f() {
4   ret void
5 }
6
7 @ptr = constant void ()* @f, section ".CRT$XLB", align 8
8 ; CHECK:  .section  .CRT$XLB,"rd"
9
10 @weak_array = weak_odr unnamed_addr constant [1 x i8*] [i8* bitcast (void ()* @f to i8*)]
11 ; CHECK:  .section  .rdata,"rd"