aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ELF/section-unique-err2.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ELF/section-unique-err2.s')
-rw-r--r--test/MC/ELF/section-unique-err2.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/ELF/section-unique-err2.s b/test/MC/ELF/section-unique-err2.s
new file mode 100644
index 0000000..7b7cd5f
--- /dev/null
+++ b/test/MC/ELF/section-unique-err2.s
@@ -0,0 +1,5 @@
+// RUN: not llvm-mc -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
+
+// CHECK: error: unique id must be positive
+
+ .section .text,"ax",@progbits,unique, -1