summaryrefslogtreecommitdiff
path: root/test/Linker/dllstorage-a.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Linker/dllstorage-a.ll')
-rw-r--r--test/Linker/dllstorage-a.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Linker/dllstorage-a.ll b/test/Linker/dllstorage-a.ll
new file mode 100644
index 000000000000..91b98184f8b0
--- /dev/null
+++ b/test/Linker/dllstorage-a.ll
@@ -0,0 +1,4 @@
+; RUN: llvm-link %s %p/dllstorage-b.ll -S -o - | FileCheck %s
+@foo = external global i32
+
+; CHECK: @foo = dllexport global i32 42