aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/ExecutionEngine/2010-01-15-UndefValue.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/ExecutionEngine/2010-01-15-UndefValue.ll b/test/ExecutionEngine/2010-01-15-UndefValue.ll
new file mode 100644
index 0000000000..7d646ebdeb
--- /dev/null
+++ b/test/ExecutionEngine/2010-01-15-UndefValue.ll
@@ -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
+}