mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
b81e6cf6c5
This can easily arise when trying to assemble and ELF style .section directive for a COFF object file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215373 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
450 B
ArmAsm
12 lines
450 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
|
|
|
|
// CHECK: error: expected comdat type such as 'discard' or 'largest' after protection bits
|
|
.section .stack, "w", @nobits
|