summaryrefslogtreecommitdiff
path: root/test/Assembler/2004-10-22-BCWriterUndefBug.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2004-10-22-BCWriterUndefBug.ll')
-rw-r--r--test/Assembler/2004-10-22-BCWriterUndefBug.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Assembler/2004-10-22-BCWriterUndefBug.ll b/test/Assembler/2004-10-22-BCWriterUndefBug.ll
new file mode 100644
index 000000000000..4b2ebeee9342
--- /dev/null
+++ b/test/Assembler/2004-10-22-BCWriterUndefBug.ll
@@ -0,0 +1,5 @@
+;; The bytecode writer was trying to treat undef values as ConstantArray's when
+;; they looked like strings.
+;; RUN: llvm-as %s -o /dev/null -f
+@G = internal global [8 x i8] undef
+