Report error for non-zero data in .bss
[oota-llvm.git] / test / MC / ELF / ARM / bss-non-zero-value.s
1 // RUN: not llvm-mc -filetype=obj -triple arm-linux-gnu %s -o %t 2>%t.out
2 // RUN: FileCheck --input-file=%t.out %s
3 // CHECK: non-zero initializer found in section '.bss'
4         .bss
5         .globl  a
6         .align  2
7 a:
8         .long   1
9         .size   a, 4