llvm-6502/test/MC/COFF/section-invalid-flags.s
Nico Rieck a6d343a688 MC: Add .section directive to COFF
Supports GAS flags "abdnrswxy". No support for alignment or subsections.

Fixes PR16366.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185669 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-04 21:32:07 +00:00

9 lines
328 B
ArmAsm

// RUN: not llvm-mc -triple i386-pc-win32 -filetype=obj %s 2>&1 | FileCheck %s
// RUN: not llvm-mc -triple x86_64-pc-win32 -filetype=obj %s 2>&1 | FileCheck %s
// CHECK: error: conflicting section flags 'b' and 'd'
.section s_db,"db"; .long 1
// CHECK: error: conflicting section flags 'b' and 'd'
.section s_bd,"bd"; .long 1