aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/COFF/section-comdat-conflict2.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/COFF/section-comdat-conflict2.s')
-rw-r--r--test/MC/COFF/section-comdat-conflict2.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MC/COFF/section-comdat-conflict2.s b/test/MC/COFF/section-comdat-conflict2.s
new file mode 100644
index 0000000..e2dfc2d
--- /dev/null
+++ b/test/MC/COFF/section-comdat-conflict2.s
@@ -0,0 +1,6 @@
+// RUN: not llvm-mc -triple i386-pc-win32 -filetype=obj < %s 2>&1 | FileCheck %s
+
+// CHECK: two sections have the same comdat
+
+ .section .xyz,"xr",discard,bar
+ .section .abcd,"xr",discard,bar