aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/X86/invalid-sleb.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/X86/invalid-sleb.s')
-rw-r--r--test/MC/X86/invalid-sleb.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/X86/invalid-sleb.s b/test/MC/X86/invalid-sleb.s
new file mode 100644
index 0000000..ad27444
--- /dev/null
+++ b/test/MC/X86/invalid-sleb.s
@@ -0,0 +1,5 @@
+// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux %s -o %t 2>&1 | FileCheck %s
+
+// CHECK: sleb128 and uleb128 expressions must be absolute
+
+ .sleb128 undefined