blob: cedbb2f032236772cd0458675ec875c01a643cc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# RUN: not llvm-mc -filetype=obj -triple=x86_64-pc-win32 %s -o /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:
## -filetype=asm does not check the error.
# RUN: llvm-mc -triple=x86_64-pc-win32 %s
.bss
# CHECK: <unknown>:0: error: BSS section '.bss' cannot have non-zero bytes
addb %bl,(%rax)
.section uninitialized,"b"
# CHECK: <unknown>:0: error: BSS section 'uninitialized' cannot have non-zero bytes
jmp foo
.section bss0,"b"
addb %al,(%rax)
|