summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Bitcode')
-rw-r--r--llvm/test/Bitcode/deprecated-linker_private-linker_private_weak.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/deprecated-linker_private-linker_private_weak.ll b/llvm/test/Bitcode/deprecated-linker_private-linker_private_weak.ll
new file mode 100644
index 00000000000..538f6419a14
--- /dev/null
+++ b/llvm/test/Bitcode/deprecated-linker_private-linker_private_weak.ll
@@ -0,0 +1,8 @@
+; RUN: llvm-as -o - %s | llvm-dis | FileCheck %s
+
+@.linker_private = linker_private unnamed_addr constant [15 x i8] c"linker_private\00", align 64
+@.linker_private_weak = linker_private_weak unnamed_addr constant [20 x i8] c"linker_private_weak\00", align 64
+
+; CHECK: @.linker_private = private unnamed_addr constant [15 x i8] c"linker_private\00", align 64
+; CHECK: @.linker_private_weak = private unnamed_addr constant [20 x i8] c"linker_private_weak\00", align 64
+
OpenPOWER on IntegriCloud