2016-03-24 22:58:44 +08:00
|
|
|
; RUN: llvm-link -S %s %p/Inputs/pr27044.ll -o - | FileCheck %s
|
|
|
|
|
|
|
|
; CHECK: define i32 @f1() {
|
2016-03-24 23:23:01 +08:00
|
|
|
; CHECK: define i32 @g1() {
|
2016-03-24 22:58:44 +08:00
|
|
|
; CHECK: define void @f2() comdat($foo) {
|
2016-03-24 23:23:01 +08:00
|
|
|
; CHECK: define linkonce_odr i32 @g2() comdat($bar) {
|
2016-03-24 22:58:44 +08:00
|
|
|
|
|
|
|
define i32 @f1() {
|
|
|
|
ret i32 0
|
|
|
|
}
|
2016-03-24 23:23:01 +08:00
|
|
|
|
|
|
|
define i32 @g1() {
|
|
|
|
ret i32 0
|
|
|
|
}
|