type-unique-opaque.ll 336 B

12345678910111213141516
  1. ; RUN: llvm-link -S %s %p/Inputs/type-unique-opaque.ll | FileCheck %s
  2. ; Test that a failed attempt at merging %u2 and %t2 (for the other file) will
  3. ; not cause %u and %t to get merged.
  4. ; CHECK: %u = type opaque
  5. ; CHECK: define %u* @g() {
  6. %u = type opaque
  7. %u2 = type { %u*, i8 }
  8. declare %u2* @f()
  9. define %u* @g() {
  10. ret %u* null
  11. }