summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ELF/common-error3.s
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/ELF/common-error3.s')
-rw-r--r--llvm/test/MC/ELF/common-error3.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/MC/ELF/common-error3.s b/llvm/test/MC/ELF/common-error3.s
new file mode 100644
index 00000000000..a84779e653e
--- /dev/null
+++ b/llvm/test/MC/ELF/common-error3.s
@@ -0,0 +1,5 @@
+# RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux %s 2>&1 | FileCheck %s
+
+# CHECK: Symbol: C redeclared as different type
+ .comm C,4,4
+ .comm C,8,4 \ No newline at end of file
OpenPOWER on IntegriCloud