summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker/dllstorage-a.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Linker/dllstorage-a.ll')
-rw-r--r--llvm/test/Linker/dllstorage-a.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Linker/dllstorage-a.ll b/llvm/test/Linker/dllstorage-a.ll
new file mode 100644
index 00000000000..91b98184f8b
--- /dev/null
+++ b/llvm/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
OpenPOWER on IntegriCloud