llvm-for-llvmta/test/MC/MachO/zerofill-text.s

8 lines
335 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
// RUN: not llvm-mc -triple x86_64-apple-darwin9 %s -filetype=obj -o /dev/null 2>&1 | FileCheck %s
.text
.zerofill __TEXT, __const, zfill, 2, 1
// CHECK: 4:27: error: The usage of .zerofill is restricted to sections of ZEROFILL type. Use .zero or .space instead.
// CHECK-NEXT: .zerofill __TEXT, __const, zfill, 2, 1