summaryrefslogtreecommitdiff
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.ll7
1 files changed, 7 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 0000000000..d7571d8919
--- /dev/null
+++ b/test/CodeGen/X86/2006-10-02-BoolRetCrash.ll
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | llc &&
+; RUN: llvm-as < %s | llc -enable-x86-fastcc
+; PR933
+
+fastcc bool %test() {
+ ret bool true
+}