Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / MachO / ARM / bad-darwin-ARM-reloc.s
blobc60f8a853b6e1c126b82f7577e9633974a74db93
1 @ RUN: not llvm-mc -n -triple armv7-apple-darwin10 %s -filetype=obj -o - 2> %t.err > %t
2 @ RUN: FileCheck --check-prefix=CHECK-ERROR < %t.err %s
3 @ rdar://15586725
4 .text
5 ldr r3, L___fcommon
6 .section myseg, mysect
7 L___fcommon:
8 .word 0
11 .word a - b
12 @ CHECK-ERROR: symbol 'a' can not be undefined in a subtraction expression
13 .word c - b
14 @ CHECK-ERROR: symbol 'b' can not be undefined in a subtraction expression