xref: /aosp_15_r20/external/llvm/test/MC/COFF/section-comdat-conflict.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1// RUN: not llvm-mc -triple i386-pc-win32 -filetype=obj < %s 2>&1 |  FileCheck %s
2
3// CHECK: conflicting sections for symbol
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