aboutsummaryrefslogtreecommitdiff
path: root/test/Assembler
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-02-05 05:57:38 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-02-05 05:57:38 +0000
commita2de37c897556fbd1f94a3ed84ad27accd8f8deb (patch)
treeaf34d39baab0faa1b905d84b643c765f734e9aed /test/Assembler
parent91b978e15774039f991cf91048dc4cc74726744b (diff)
Added LLVM Asm/Bitcode Reader/Writer support for new IR keyword externally_initialized.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174340 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler')
-rw-r--r--test/Assembler/externally-initialized.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Assembler/externally-initialized.ll b/test/Assembler/externally-initialized.ll
new file mode 100644
index 0000000000..4be6e629a1
--- /dev/null
+++ b/test/Assembler/externally-initialized.ll
@@ -0,0 +1,5 @@
+; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
+
+; CHECK: @G = externally_initialized global i32 0
+
+@G = externally_initialized global i32 0