summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ELF/common-redeclare.s
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/ELF/common-redeclare.s')
-rw-r--r--llvm/test/MC/ELF/common-redeclare.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/MC/ELF/common-redeclare.s b/llvm/test/MC/ELF/common-redeclare.s
new file mode 100644
index 00000000000..f8ee17d84e2
--- /dev/null
+++ b/llvm/test/MC/ELF/common-redeclare.s
@@ -0,0 +1,5 @@
+# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux %s | llvm-objdump -t - | FileCheck %s
+
+# CHECK: 0000000000000004 g *COM* 00000004 C
+ .comm C,4,4
+ .comm C,4,4 \ No newline at end of file
OpenPOWER on IntegriCloud