view test/MC/COFF/section-comdat-conflict.s @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents 54457678186b
children
line wrap: on
line source

// 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