[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / COFF / secidx.s
blob736cb8c80a89c529754d999087fcf9c2de4f87b8
1 // RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj -S --sr | FileCheck %s
3 // check that we produce the correct relocation for .secidx
5 Lfoo:
6 .secidx Lfoo
7 .short 0
8 .secidx Lbar
9 .short 0
11 .section spam
12 Lbar:
13 ret
15 // CHECK: Relocations [
16 // CHECK-NEXT: 0x0 IMAGE_REL_I386_SECTION .text
17 // CHECK-NEXT: 0x4 IMAGE_REL_I386_SECTION spam
18 // CHECK-NEXT: ]