[opaque pointer type] Add textual IR support for explicit type parameter for global...
[oota-llvm.git] / test / Transforms / GlobalDCE / pr20981.ll
1 ; RUN: opt < %s -globaldce -S | FileCheck %s
2
3 $c1 = comdat any
4 ; CHECK: $c1 = comdat any
5
6 @a1 = linkonce_odr alias void (), void ()* @f1
7 ; CHECK: @a1 = linkonce_odr alias void (), void ()* @f1
8
9 define linkonce_odr void @f1() comdat($c1) {
10   ret void
11 }
12 ; CHECK: define linkonce_odr void @f1() comdat($c1)
13
14 define void @g() {
15   call void @f1()
16   ret void
17 }