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