blob: d7631554c2cfd48fb32cdf963d0997e496151668 [file] [log] [blame]
David Majnemerac256cf2015-05-05 20:14:22 +00001; RUN: opt < %s -inline -S | FileCheck %s
Chandler Carruth625038d2016-12-27 07:18:43 +00002; RUN: opt < %s -passes='cgscc(inline),globaldce' -S | FileCheck %s
David Majnemerac256cf2015-05-05 20:14:22 +00003
4$f1 = comdat any
5; CHECK-NOT: $f1 = comdat any
6
7define void @f2() {
8 call void @f1()
9 ret void
10}
11; CHECK-LABEL: define void @f2
12
13define linkonce_odr void @f1() comdat {
14 ret void
15}
16; CHECK-NOT: define linkonce_odr void @f1() comdat