1; RUN: llvm-link -S %s %p/Inputs/type-unique-name.ll | FileCheck %s
2
3; Test that we keep the type name
4; CHECK: %abc = type { i8 }
5
6%abc = type opaque
7
8declare %abc* @f()
9
10define %abc* @g() {
11  %x = call %abc* @f()
12  ret %abc* %x
13}
14