Link declaration lazily.
[oota-llvm.git] / test / Linker / type-unique-dst-types.ll
index 30aecbb970cbd11f5af6be6646991c450b88f2a6..1adad49de91d1366a504dd6b63b3a7c3b4c8ed17 100644 (file)
@@ -17,3 +17,7 @@
 %A = type { %B }
 %B = type { i8 }
 @g3 = external global %A
+
+define %A* @use_g3() {
+  ret %A* @g3
+}