aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-01-20 19:00:12 +0000
committerChris Lattner <sabre@nondot.org>2004-01-20 19:00:12 +0000
commit78c146ffc5a790b292d36a4d8613ae27f3a8decc (patch)
treec969236a958e44599493839bc12bd7190c418405
parent06723077ed440bb25b25908aa93002d7ac49d94f (diff)
New testcase for incorrect bytecode reading of MAXLONG. The reader is getting
it as zero. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10927 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Assembler/2004-01-20-MaxLongLong.llx4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Assembler/2004-01-20-MaxLongLong.llx b/test/Assembler/2004-01-20-MaxLongLong.llx
new file mode 100644
index 0000000000..a55fcd6e8c
--- /dev/null
+++ b/test/Assembler/2004-01-20-MaxLongLong.llx
@@ -0,0 +1,4 @@
+; RUN: llvm-as < %s | llvm-dis | grep 9223372036854775808
+
+global long -9223372036854775808
+