[MC] Convert other MachO tests from macho-dump to llvm-readobj.
[oota-llvm.git] / test / MC / MachO / section-attributes.s
1 // RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o %t
2 // RUN: llvm-readobj -s -sd %t | FileCheck %s
3
4 .section __TEXT,__objc_opt_ro
5 .long 0
6
7 // CHECK: Section {
8 // CHECK:   Index: 1
9 // CHECK:   Attributes [ (0x0)
10 // CHECK:   ]