blob: 2553e2afd5f9ca4905ecc6f9e20e284cdb47249e [file] [log] [blame]
; RUN: llvm-link -opaque-pointers=0 -S %s %p/Inputs/type-unique-name.ll | FileCheck %s
; Test that we keep the type name
; CHECK: %abc = type { i8 }
%abc = type opaque
declare %abc* @f()
define %abc* @g() {
%x = call %abc* @f()
ret %abc* %x
}