Fix a Mach-O assembler segfault for a subtraction expression with an undefined symbol.
[oota-llvm.git] / test / MC / MachO / section-attributes.s
1 // RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o %t
2 // RUN: macho-dump %t | FileCheck %s
3
4 // CHECK: # Section 1
5 // CHECK: ('flags', 0x0)
6 .section __TEXT,__objc_opt_ro
7 .long 0