aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2006-10-02-BoolRetCrash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2006-10-02-BoolRetCrash.ll')
-rw-r--r--test/CodeGen/X86/2006-10-02-BoolRetCrash.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2006-10-02-BoolRetCrash.ll b/test/CodeGen/X86/2006-10-02-BoolRetCrash.ll
new file mode 100644
index 0000000..eb4d291
--- /dev/null
+++ b/test/CodeGen/X86/2006-10-02-BoolRetCrash.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-upgrade < %s | llvm-as | llc
+; PR933
+
+fastcc bool %test() {
+ ret bool true
+}