1# RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
2
3# This test invokes .bundle_lock and then switches to a different section
4# w/o the appropriate unlock.
5
6# CHECK: ERROR: Unterminated .bundle_lock
7
8  .bundle_align_mode 3
9  .section text1, "x"
10  imull $17, %ebx, %ebp
11  .bundle_lock
12  imull $17, %ebx, %ebp
13
14  .section text2, "x"
15  imull $17, %ebx, %ebp
16
17