16 lines · plain
1# RUN: not llvm-mc -filetype=obj -triple=x86_64-pc-win32 %s -o /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:2 3## -filetype=asm does not check the error.4# RUN: llvm-mc -triple=x86_64-pc-win32 %s5 6.bss7# CHECK: <unknown>:0: error: BSS section '.bss' cannot have non-zero bytes8 addb %bl,(%rax)9 10.section uninitialized,"b"11# CHECK: <unknown>:0: error: BSS section 'uninitialized' cannot have non-zero bytes12 jmp foo13 14.section bss0,"b"15 addb %al,(%rax)16