aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/huge-array.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-05-23 21:40:55 +0000
committerDan Gohman <gohman@apple.com>2008-05-23 21:40:55 +0000
commitce5734ee7c8102a075929615ba4419e207e74684 (patch)
tree53c3066b3c679cf8a228d335f176e2bed1bcb34e /test/Assembler/huge-array.ll
parentaa69cee27bf4c8fb4ac7cf5b64f71a03fc811c4a (diff)
downloadexternal_llvm-ce5734ee7c8102a075929615ba4419e207e74684.zip
external_llvm-ce5734ee7c8102a075929615ba4419e207e74684.tar.gz
external_llvm-ce5734ee7c8102a075929615ba4419e207e74684.tar.bz2
Don't silently truncate array extents to 32 bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51505 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/huge-array.ll')
-rw-r--r--test/Assembler/huge-array.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Assembler/huge-array.ll b/test/Assembler/huge-array.ll
new file mode 100644
index 0000000..e080947
--- /dev/null
+++ b/test/Assembler/huge-array.ll
@@ -0,0 +1,5 @@
+; RUN: llvm-as < %s | llvm-dis | grep 18446744073709551615 | count 2
+
+define [18446744073709551615 x i8]* @foo() {
+ ret [18446744073709551615 x i8]* null
+}