Test case for http://llvm.org/PR6028.
authorJay Foad <jay.foad@gmail.com>
Fri, 15 Jan 2010 11:29:26 +0000 (11:29 +0000)
committerJay Foad <jay.foad@gmail.com>
Fri, 15 Jan 2010 11:29:26 +0000 (11:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93511 91177308-0d34-0410-b5e6-96231b3b80d8

test/ExecutionEngine/2010-01-15-UndefValue.ll [new file with mode: 0644]

diff --git a/test/ExecutionEngine/2010-01-15-UndefValue.ll b/test/ExecutionEngine/2010-01-15-UndefValue.ll
new file mode 100644 (file)
index 0000000..7d646eb
--- /dev/null
@@ -0,0 +1,9 @@
+; RUN: llvm-as %s -o %t.bc
+; RUN: lli -force-interpreter=true %t.bc
+
+define i32 @main() {
+       %a = add i32 0, undef
+       %b = add float 0.0, undef
+       %c = add double 0.0, undef
+       ret i32 0
+}