xref: /llvm-project/llvm/test/MC/COFF/section-comdat-conflict.s (revision 04c27852e47093f7efa18609dbf57b3ce58a3ffa)
1// RUN: not llvm-mc -triple i386-pc-win32 -filetype=obj < %s 2>&1 |  FileCheck %s
2
3// CHECK: <unknown>:0: error: invalid symbol redefinition
4
5        .section .xyz
6        .global bar
7bar:
8        .long 42
9
10        .section        .abcd,"xr",discard,bar
11        .global foo
12foo:
13        .long 42
14