aboutsummaryrefslogtreecommitdiff
path: root/test/Linker/opaque.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Linker/opaque.ll')
-rw-r--r--test/Linker/opaque.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Linker/opaque.ll b/test/Linker/opaque.ll
index 4f3f398f8f1b..6fd1ae90d4f4 100644
--- a/test/Linker/opaque.ll
+++ b/test/Linker/opaque.ll
@@ -19,3 +19,7 @@
%C = type { %A }
@g1 = external global %B
+
+define %B* @use_g1() {
+ ret %B* @g1
+}