1# RUN: not llvm-mc -filetype=obj -triple=x86_64-pc-win32 %s -o /dev/null 2>&1 | FileCheck %s 2 3## -filetype=asm does not check the error. 4# RUN: llvm-mc -triple=x86_64-pc-win32 %s 5 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 10 11.bss 12# CHECK: {{.*}}.s:[[#@LINE+1]]:3: error: IMAGE_SCN_CNT_UNINITIALIZED_DATA section '.bss' cannot have instructions 13 addb %al,(%rax) 14