Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion llvm/test/MC/MachO/invalid-section-index.s
Original file line number Diff line number Diff line change
@@ -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!
Expand Down
Loading