1// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj -s -sr | FileCheck %s
2
3// check that we produce the correct relocation for .secidx
4
5Lfoo:
6	.secidx	Lfoo
7	.secidx	Lbar
8
9.section spam
10Lbar:
11	ret
12
13// CHECK:       Relocations [
14// CHECK-NEXT:    0x0 IMAGE_REL_I386_SECTION .text
15// CHECK-NEXT:    0x4 IMAGE_REL_I386_SECTION spam
16// CHECK-NEXT:  ]
17