xref: /llvm-project/llvm/test/MC/X86/AlignedBundling/lock-without-bundle-mode-error.s (revision 4ad76852584480b646d1ce360202e18591ea8938)
1# RUN: not --crash llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
2
3# .bundle_lock can't come without a .bundle_align_mode before it
4
5# CHECK: ERROR: .bundle_lock forbidden when bundling is disabled
6
7  imull $17, %ebx, %ebp
8  .bundle_lock
9
10
11