aboutsummaryrefslogtreecommitdiff
path: root/test/ExecutionEngine/MCJIT/2010-01-15-UndefValue.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/ExecutionEngine/MCJIT/2010-01-15-UndefValue.ll')
-rw-r--r--test/ExecutionEngine/MCJIT/2010-01-15-UndefValue.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ExecutionEngine/MCJIT/2010-01-15-UndefValue.ll b/test/ExecutionEngine/MCJIT/2010-01-15-UndefValue.ll
new file mode 100644
index 000000000000..524a724c474b
--- /dev/null
+++ b/test/ExecutionEngine/MCJIT/2010-01-15-UndefValue.ll
@@ -0,0 +1,8 @@
+; RUN: %lli -use-mcjit -force-interpreter=true %s
+
+define i32 @main() {
+ %a = add i32 0, undef
+ %b = fadd float 0.0, undef
+ %c = fadd double 0.0, undef
+ ret i32 0
+}