summaryrefslogtreecommitdiffstats
path: root/llvm/test/Assembler/2004-10-22-BCWriterUndefBug.llx
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Assembler/2004-10-22-BCWriterUndefBug.llx')
-rw-r--r--llvm/test/Assembler/2004-10-22-BCWriterUndefBug.llx5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/Assembler/2004-10-22-BCWriterUndefBug.llx b/llvm/test/Assembler/2004-10-22-BCWriterUndefBug.llx
new file mode 100644
index 00000000000..7da48531d88
--- /dev/null
+++ b/llvm/test/Assembler/2004-10-22-BCWriterUndefBug.llx
@@ -0,0 +1,5 @@
+;; The bytecode writer was trying to treat undef values as ConstantArray's when
+;; they looked like strings.
+;; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f
+%G = internal global [8 x sbyte] undef
+
OpenPOWER on IntegriCloud