summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker/lto-attributes.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Linker/lto-attributes.ll')
-rw-r--r--llvm/test/Linker/lto-attributes.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Linker/lto-attributes.ll b/llvm/test/Linker/lto-attributes.ll
new file mode 100644
index 00000000000..0dc78ad159b
--- /dev/null
+++ b/llvm/test/Linker/lto-attributes.ll
@@ -0,0 +1,7 @@
+; RUN: llvm-link -S %s -o - | FileCheck %s
+
+; CHECK: @foo = private externally_initialized global i8* null
+@foo = private externally_initialized global i8* null
+; CHECK: @array = appending global [7 x i8] c"abcdefg", align 1
+@array = appending global [7 x i8] c"abcdefg", align 1
+
OpenPOWER on IntegriCloud