view test/Verifier/comdat2.ll @ 147:c2174574ed3a

LLVM 10
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 14 Aug 2019 16:55:33 +0900
parents 60c9769439b8
children
line wrap: on
line source

; RUN: llvm-as %s -o /dev/null
; RUN: opt -mtriple=x86_64-unknown-linux -o /dev/null
; RUN: not opt -mtriple=x86_64-pc-win32 %s -o /dev/null 2>&1 | FileCheck %s

$v = comdat any
@v = private global i32 0, comdat($v)
; CHECK: comdat global value has private linkage