mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-01 21:04:04 -04:00
018314991b
This check is only meaningful for COFF and it is perfectly valid to create such a GlobalValue in ELF. Differential Revision: https://reviews.llvm.org/D65686 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368094 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
265 B
LLVM
8 lines
265 B
LLVM
; 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
|