aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/COFF/section-comdat-conflict.s
blob: 7ed452a5cdcb4289fbdb405acf4a380413fe724a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: not llvm-mc -triple i386-pc-win32 -filetype=obj < %s 2>&1 |  FileCheck %s

// CHECK: conflicting sections for symbol

        .section .xyz
        .global bar
bar:
        .long 42

        .section        .abcd,"xr",discard,bar
        .global foo
foo:
        .long 42