diff --git a/llvm/test/MC/MachO/invalid-section-index.s b/llvm/test/MC/MachO/invalid-section-index.s index 55a0ce5b40ea7..104e8a82e43af 100644 --- a/llvm/test/MC/MachO/invalid-section-index.s +++ b/llvm/test/MC/MachO/invalid-section-index.s @@ -1,6 +1,8 @@ +// REQUIRES: aarch64-registered-target + /// Test that when there are more than 255 sections, error is shown specifying too many sections. -// RUN: not llvm-mc -filetype=obj -triple arm64-apple-macos %s -o - 2>&1 | FileCheck %s --check-prefix=MACHOERROR +// RUN: not llvm-mc -filetype=obj -triple arm64-apple-darwin %s -o - 2>&1 | FileCheck %s --check-prefix=MACHOERROR // MACHOERROR: error: Too many sections! // MACHOERROR-NEXT: error: Invalid section index!