aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2004-10-22-BCWriterUndefBug.llx
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2004-10-22-BCWriterUndefBug.llx')
-rw-r--r--test/Assembler/2004-10-22-BCWriterUndefBug.llx5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Assembler/2004-10-22-BCWriterUndefBug.llx b/test/Assembler/2004-10-22-BCWriterUndefBug.llx
new file mode 100644
index 0000000..7da4853
--- /dev/null
+++ b/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
+