[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / MachO / zerofill-text.s
blobe69558cb1b67005c380b77306e7da970fcccdbf9
1 // RUN: not llvm-mc -triple x86_64-apple-darwin9 %s -filetype=obj -o /dev/null 2>&1 | FileCheck %s
3 .text
4 .zerofill __TEXT, __const, zfill, 2, 1
6 // CHECK: 4:27: error: The usage of .zerofill is restricted to sections of ZEROFILL type. Use .zero or .space instead.
7 // CHECK-NEXT: .zerofill __TEXT, __const, zfill, 2, 1