Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / COFF / bss-text.s
blobed6890565b9a3cd57352d6702b391b65eb8c7980
1 # RUN: not llvm-mc -filetype=obj -triple=x86_64-pc-win32 %s -o /dev/null 2>&1 | FileCheck %s
3 ## -filetype=asm does not check the error.
4 # RUN: llvm-mc -triple=x86_64-pc-win32 %s
6 .section uninitialized,"b"
7 # MCRelaxableFragment
8 # CHECK: {{.*}}.s:[[#@LINE+1]]:3: error: IMAGE_SCN_CNT_UNINITIALIZED_DATA section 'uninitialized' cannot have instructions
9 jmp foo
11 .bss
12 # CHECK: {{.*}}.s:[[#@LINE+1]]:3: error: IMAGE_SCN_CNT_UNINITIALIZED_DATA section '.bss' cannot have instructions
13 addb %al,(%rax)