summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/Inline/pr22285.ll
blob: 1deae1860f08ed603f12cf01b99f43d7700d6014 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: opt < %s -inline -S | FileCheck %s

$f1 = comdat any
; CHECK-NOT: $f1 = comdat any

define void @f2() {
  call void @f1()
  ret void
}
; CHECK-LABEL: define void @f2

define linkonce_odr void @f1() comdat {
  ret void
}
; CHECK-NOT: define linkonce_odr void @f1() comdat
OpenPOWER on IntegriCloud