aboutsummaryrefslogtreecommitdiff
path: root/test/Assembler/2008-07-10-APInt.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-07-11 00:30:06 +0000
committerChris Lattner <sabre@nondot.org>2008-07-11 00:30:06 +0000
commitd15990189d7d338a0c81239bef206e8484e513a3 (patch)
treeee340329d912266830b1fd32624bdfca90506d50 /test/Assembler/2008-07-10-APInt.ll
parentc563e1d8fe2e0e9bb47e99ec55c277404969287e (diff)
Implement PR2538
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53438 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/2008-07-10-APInt.ll')
-rw-r--r--test/Assembler/2008-07-10-APInt.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Assembler/2008-07-10-APInt.ll b/test/Assembler/2008-07-10-APInt.ll
new file mode 100644
index 0000000000..99347e92ab
--- /dev/null
+++ b/test/Assembler/2008-07-10-APInt.ll
@@ -0,0 +1,9 @@
+; RUN: llvm-as < %s | llvm-dis
+; PR2538
+target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
+target triple = "i686-pc-linux-gnu"
+
+define i128 @a() {
+ ret i128 18446744073709551616
+}
+