type-unique-name.ll 232 B

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