diff options
Diffstat (limited to 'test/MC/ELF/section-unique-err2.s')
-rw-r--r-- | test/MC/ELF/section-unique-err2.s | 5 |
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 |