summaryrefslogtreecommitdiff
path: root/test/MC/X86/AlignedBundling/bundle-lock-option-error.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/X86/AlignedBundling/bundle-lock-option-error.s')
-rw-r--r--test/MC/X86/AlignedBundling/bundle-lock-option-error.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/MC/X86/AlignedBundling/bundle-lock-option-error.s b/test/MC/X86/AlignedBundling/bundle-lock-option-error.s
new file mode 100644
index 000000000000..82c5d7cf0e7b
--- /dev/null
+++ b/test/MC/X86/AlignedBundling/bundle-lock-option-error.s
@@ -0,0 +1,11 @@
+# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
+
+# Missing .bundle_align_mode argument
+# CHECK: error: invalid option
+
+ .bundle_align_mode 4
+ .bundle_lock 5
+ imull $17, %ebx, %ebp
+ .bundle_unlock
+
+