aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ELF/section-sym-err.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ELF/section-sym-err.s')
-rw-r--r--test/MC/ELF/section-sym-err.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MC/ELF/section-sym-err.s b/test/MC/ELF/section-sym-err.s
new file mode 100644
index 0000000..789fee7
--- /dev/null
+++ b/test/MC/ELF/section-sym-err.s
@@ -0,0 +1,6 @@
+// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t.o 2>&1 | FileCheck %s
+
+.section foo
+foo:
+
+// CHECK: error: invalid symbol redefinition