@ RUN: llvm-mc -triple thumbv7-windows-itanium -filetype obj -o - %s \
@ RUN:   | llvm-readobj -s - | FileCheck %s

    .syntax unified
    .thumb

    .text

    .global function
    .thumb_func
function:
    bx lr

@ CHECK: Section
@ CHECK-DAG: IMAGE_SCN_CNT_CODE
@ CHECK-DAG: IMAGE_SCN_MEM_16BIT

Check that the thumb COFF segment flag gets set on thumb windows
[ARM] Check that the thumb COFF segment flag gets set on thumb windows

Patch by Martin Storsjö.

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@276877 91177308-0d34-0410-b5e6-96231b3b80d8
