mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
14 lines
268 B
LLVM
14 lines
268 B
LLVM
|
; RUN: llvm-link -S %s %p/Inputs/comdat11.ll -o - | FileCheck %s
|
||
|
|
||
|
$foo = comdat any
|
||
|
@foo = global i8 0, comdat
|
||
|
|
||
|
; CHECK: @foo = global i8 0, comdat
|
||
|
|
||
|
; CHECK: define void @zed() {
|
||
|
; CHECK: call void @bar()
|
||
|
; CHECK: ret void
|
||
|
; CHECK: }
|
||
|
|
||
|
; CHECK: declare void @bar()
|