summaryrefslogtreecommitdiffstats
path: root/test/Assembler/2003-05-03-BytecodeReaderProblem.llx
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-03 18:55:29 +0000
committerChris Lattner <sabre@nondot.org>2003-05-03 18:55:29 +0000
commitc472d7c52a6f3d702ab15917bd3d10d3ae1a2230 (patch)
tree49632e5012649867d3007666bc510cff13702852 /test/Assembler/2003-05-03-BytecodeReaderProblem.llx
parent84e66655701008654105bf50801a794d02ef8094 (diff)
downloadexternal_llvm-c472d7c52a6f3d702ab15917bd3d10d3ae1a2230.zip
external_llvm-c472d7c52a6f3d702ab15917bd3d10d3ae1a2230.tar.gz
external_llvm-c472d7c52a6f3d702ab15917bd3d10d3ae1a2230.tar.bz2
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/2003-05-03-BytecodeReaderProblem.llx')
-rw-r--r--test/Assembler/2003-05-03-BytecodeReaderProblem.llx6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Assembler/2003-05-03-BytecodeReaderProblem.llx b/test/Assembler/2003-05-03-BytecodeReaderProblem.llx
new file mode 100644
index 0000000..925fb4f
--- /dev/null
+++ b/test/Assembler/2003-05-03-BytecodeReaderProblem.llx
@@ -0,0 +1,6 @@
+; RUN: as < %s | dis
+
+void %test() {
+ %tmp.123 = cast long cast ([5 x { ubyte, sbyte }]* getelementptr ([30 x [5 x { ubyte, sbyte }]]* null, long 0, long 0) to long) to int
+ ret void
+}