1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/test/MC/COFF/section-invalid-flags.s
Nico Rieck f688394960 MC: Add .section directive to COFF
Supports GAS flags "abdnrswxy". No support for alignment or subsections.

Fixes PR16366.

llvm-svn: 185669
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